In order to provide the level of feedback to users that worked on issues attributed as the Root Cause Issue of an Attributor Issue, the Root Cause Analysis plugin needs to be able to get access to certain information that is only available at the point of certain workflow status transitions. The workflow status transitions that are applicable to the plugin will differ from workflow to workflow.
As a working example, lets go through the Root Cause Analysis workflow configuration process for JIRA's Software Development project type and its associated Software Development workflow...
- Start by clicking the Projects drop-down and select Create Project
- Select the Software Development project type and click Next
- Click Select on the next screen and enter a Project Name and Key. I'll use Root Cause test with a key RCT.
- Click Submit to finish project creation.
- You will now be on the project Overview page. Click on the Administration link near the top of the page.
- On the resulting project Administration page, look for the Workflows section and click on the(edit) icon beside the RCT: Software Development Workflow link.
You are now presented with the list of Workflow steps and their valid transitions for the projects workflow.
Analyze the each workflow step and each of the associated transitions to determine which transitions we want the Root Cause Analysis plugin to manage data.
Step Name Transition Track Data for Resolver Track Data for Closer Reasoning To Do Start Progress When transitioning an issue from To Do to Start Progress, the user is just starting work so we don't care to ever track anything from this transition for Root Cause Analysis plugin purposes. Done When transitioning an issue from To Do all the way to Done, the user performing the action is both marking the issue as change complete (but no change required), and verification complete. The Root Cause Analysis plugin will want to gather information from this status transition for both the Resolver and the Closer. Start Review When transitioning an issue from To Do to Start Progress, the user performing the action is marking the issue as change complete. The Root Cause Analysis plugin will want to gather information from this status transition for just the Resolver. In Progress Start Review Done To Do Done Reopen Reopen and start progress Reopen and start review In Review Done Restart Progress To Do