Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in as a user with the JIRA Administrators global permission.

  2. Click on the JIRA Administration cog Image RemovedImage Added and select the Projects menu item.

  3. 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).

  4. You will now see the project Administration page.



  5. On project Administration page, look for the Workflows section and click on the(edit) icon (beside the RCT: Software Development Workflow link).



  6. You are now presented with the list of Workflow steps and their valid transitions for the projects workflow.

  7. 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 Review transition between the two states).

  8. In the In Progress row, click on the Start Review link from within the Transitions column.

     

  9. Click on the Conditions tab to display the existing conditions for the transition.

     

  10. Click the Add condition link. You now see the list of available conditions to add to the workflow transition.
    Image Removed
    Image Added

  11. Click the Add button on the next screen to finalize the addition of the workflow condition.



  12. You are returned to the list of workflow conditions for the transition. You can see the one you added in the list!



  13. Click on the Publish Draft button to make your changes to the workflow active.
    Image Removed

...


  1. Image Added

Now lets try out our newly created workflow condition in action!

  1. Create a new JIRA Issue in the project we just added the workflow condition into.



  2. Click on the Start Progress workflow transition button. Notice that the Start 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.

  3. Now lets fulfill the workflow condition by entering a Root Cause Issue. Click on the Enter Attributer Data button.
    Image Removed
    Image Added

  4. Enter a valid JIRA issue key into the Root Cause Issue field. Click the Update button.
    Image Removed
    Image Added

  5. Notice that the Start Review status transition has now appeared since we have satisfied the condition we placed on the transition.



...