Applying a workflow on a sub-task issue type having a condition "This transition will only execute if there are no Open Crucible reviews related to this issue" fails and allows transitions to happen

XMLWordPrintable

    • 8.05
    • 1
    • Severity 3 - Minor

      Issue Summary

      Applying a workflow on a sub-task issue type having a condition that shouldn't allow the transition if a crucible review associated is open fails, and allows the transition to happen.

      Steps to Reproduce

      1. Create an issue type of sub-task type "Modify Individual Module" and associate this with one of the projects.
      2. Create a workflow with 2 statuses "Source Code Peer Review" and "DV Peer Review Passed" and add a transition "Approve Source Code Changes", which takes the issue from  the ticket in state "Source Code Peer Review" to "DV Peer Review Passed". Add a condition to workflow "This transition will only execute if there are no Open Crucible reviews related to this issue." (The naming conventions can be base on user choice).
      3. Update the workflow scheme used by this project to use this workflow for this issue type "Modify Individual Module" and one of the standard issue type (say bug).
      4. Link both Jira 8.5.4 and FECR 4.8.0 through application links.
      5. Create a Jira issue of "Bug" type and a sub-task of "Modify Individual Module".
      6. Create a Crucible review and add both the issues to linked issues in Crucible review and ensure that 1 open review is highlighted in both Jira issues.
      7. Now execute the transitions for issue type "Modify Individual Module" and see it complete successfully without checking any conditions.
      8. Try the same steps for issue type "Bug" and see the condition is applied and transition option will not appear as long as the Crucible review is in open state.

      Expected Results

      • As we can associate same workflows to standard and sub-task issue types, both should respect the condition "This transition will only execute if there are no Open Crucible reviews related to this issue" evaluation before the transition.
      • If this not applicable for sub-task issue types, it should be clearly documented and needs to be added as a current limitation to the the feature.

      Actual Results

      • The sub-task issue types wont respect the workflow condition "This transition will only execute if there are no Open Crucible reviews related to this issue" and allow the transitions to happen smoothly.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Vivek Yadavayyanamath
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: