Hello,
I would like to create a rule to close all tasks and sub-tasks fixed in just released version (on condition they are in specific status).
Following the page https://docs.automationforjira.com/rule-playground/#/rule/112178 I am able to cover the first part of the rule (close all tasks), but I am not able to find a way for closing all sub-tasks (playing wiht this already for some time).
Any hints?
Thanks!
Hey there Jaroslaw,
Do the sub-tasks have the fixfor version set? If so you can replace the "Sub-tasks" related branch with a JQL query like:
issuetype IN subTaskIssueTypes() AND fixVersion = latestReleasedVersion() AND status = "Ready for Production"
and then transition the issues there into the correct state
Cheers,
Mark C
Thanks for the answer. When "fix version" is set the rule works - thank you.
Unfortunately "fixfor" is not always set and I am not able to find any instruction that will go through all sub-tasks closing them on given condition.
Cheers,
Jarek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you have any problems auto-closing stories? On my Transition of the issue to Completed (Done) I set the Resolution to Done but I get errors during the flow stating 'Resolution name 'Fixed' is not valid (resolution)).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.