...
- Log in as a user with the JIRA Administrators global permission.
- Click on the JIRA Administration cog
- Click on the Project link for the project you wish to add workflow conditions to (In this example we will add one to the project Root Cause Test with key RCT).
- You will now see the project Administration page.
- On project Administration page, look for the Workflows section and click on the(edit) icon (beside the RCT: Software Development Workflow Software Simplified Workflow for Project RCT link).
You are now presented with the list of Workflow steps and their valid transitions for the projects workflow.
For our example lets say we want to ensure that the Root Cause Issue field has been populated before a user could move the issue from In Progress to In Review (essentially blocking the Start In Review transition between the two states).
In the In Progress row, click on the Start In Review link from within the Transitions column.
Click on the Conditions tab to display the existing conditions for the transition.
`
- Click the Add condition link. You now see the list of available conditions to add to the workflow transition.
- Click the Add button on the next screen to finalize the addition of the workflow condition.
- You are returned to the list of workflow conditions for the transition. You can see the one you added in the list!
- Click on the Publish Draft button to make your changes to the workflow active.
Now lets try out our newly created workflow condition in action!
- Create a new JIRA Issue in the project we just added the workflow condition into.
Click on the Start In Progress workflow transition button. Notice that the Start In Review transition does not appear.
Note If we had added the same condition to the In Progress statuses Done transition, the only available transition at this point would be To Do.
- Now lets fulfill the workflow condition by entering a Root Cause Issue. Click on the Enter Attributer Data button.
- Enter a valid JIRA issue key into the Root Cause Issue field. Click the Update button.
- Notice that the Start In Review status transition has now appeared since we have satisfied the condition we placed on the transition.
There you have it! Place conditions on any of the Root Cause Analysis plugin fields as you see fit based on your organizations requirements for root cause analysis.
...