Hello People,
Anyone here can help m building an automation, when the user story is with status done, when all the related tasks are all done?
Regards,
Ilídio
If you are asking to close the parent when all children are done there are a number of posts that discuss the solution already. Here is one where Stephen does a good job explaining - Will-moving-all-subtasks-of-a-story-to-Done
Jack
Sub-task closing the story is a native automation of Jira. I'm talking about close the story when the related tasks are done.
Hi @Ilidio Faria A way to do this would be to use lookup issues, to see if there are any issues related to the user story which have their status something other than "done". If there are none, then you can transition the story to "done".The rule configuration would be:- When issue transitions to done- For any issue related to the trigger issue- Lookup issues related to this related issue which have status other than done- If there are none- Transition the related issue to Done
Here I am using the "relates to" link. This could be changed to any link type you want, or multiple link types.Hope that helps!
Can you paste here the JQL condition and the checks if?
Gotcha, the way to do this is via automation as Sam has conveyed.
@Sam Harding can you please provide the JQL condition and the checks if?
@Ilidio Faria the lookup issues JQL search string isissue in linkedIssues({{issue.key}}, "relates to") and status != "done"Then the advanced compare condition is
{{lookupIssues.size}}
equals
0
It looks like you're new here. Sign in or register to get started.