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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gotcha, the way to do this is via automation as Sam has conveyed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
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.
@Ilidio Faria the lookup issues JQL search string is
issue in linkedIssues({{issue.key}}, "relates to") and status != "done"
Then the advanced compare condition is
{{lookupIssues.size}}
equals
0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.