Is there a way to set up Jira Automation so that upon filed value change in Epic, it copies not only to its children but also to the sub-tasks of its children?
Hello @Kate Tokar
I'm not sure if it can be done in a single rule, but you could accomplish it with two rules; one for copying the data from Epic to child issues, and one for copying the date from child issues to their subtasks.
I'm still trying to work out if it can be done in one rule.
Hi @Kate Tokar and @Trudy Claspill
I believe it can be done in one rule...
For company-managed projects, JQL using the parentEpic() function can be used to find the issues: https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#parentEpic--
For an example query, assuming the parent is the trigger issue:
parentEpic = {{triggerIssue.key}}
AND key != {{triggerIssue.key}}
ORDER BY Key ASC
For team-managed projects, the parentEpic() function does not work. Instead the keys must be gathered for the child issues and subtasks.
parent = {{triggerIssue.key}}
{{#lookupIssues}}{{key}}{{#subtasks}}, {{key}}{{/}}{{^last}}, {{/}}{{/}}
key IN ( {{#lookupIssues}}{{key}}{{#subtasks}}, {{key}}{{/}}{{^last}}, {{/}}{{/}} )
This will have the rule limit of 100 issues for the lookup, and could run into service limits if there are many subtasks for many children of the epic: https://support.atlassian.com/cloud-automation/docs/automation-service-limits/
Please let me know if you want additional details on this one.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to start creating separate Answers when you chime in so that we can reward you for your brilliance! :-D
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.