-
Type:
Bug
-
Resolution: Low Engagement
-
Priority:
Low
-
None
-
Affects Version/s: 8.5.4
-
Component/s: Administration - Workflows
-
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
- Create an issue type of sub-task type "Modify Individual Module" and associate this with one of the projects.
- 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).
- 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).
- Link both Jira 8.5.4 and FECR 4.8.0 through application links.
- Create a Jira issue of "Bug" type and a sub-task of "Modify Individual Module".
- 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.
- Now execute the transitions for issue type "Modify Individual Module" and see it complete successfully without checking any conditions.
- 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