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).
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
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events