-
Suggestion
-
Resolution: Unresolved
-
None
I would like to have a condition that prevents a workflow if the Issue does not have any linked review.
I know there is the "Unreviewed Code Condition" but this goes too far for us as there are some commits you don't want to have in your review, or are merge commits or are commits commited to this Issue by accident (wrong ticket number in commit message).
All this led to much discomfort with using the above condition and therefore we disabled it.
However the main reason we added this condition in the first place was because we always want an Issue to have at least one review.
I tried to solve this by using the "Calculated Number Field" (from JIRA Misc Custom Fields plugin) but was not able to create a number field that returns the count of linked reviews (but I was btw. able to create a field that counts the number of sub tasks, so a Story can't be started without ones. Great plugin!)
Or is there any other way I can accomplish this?