Hey guys!
I am currently trying to create an automation rule that copies the current watchers from a parent issue when a sub-issue is created. I assume that using smart values and branching it should be possible, but right now this is still over my head.
Thanks for the help! :)
Hi @Jonas Börnicke -- Welcome to the Atlassian community!
This may be possible, but you will need to do this in stages as there there is no temporary storage/variables in rule execution...and you might need that. This may work with 2 rules:
Rule 1:
Rule 2:
Best regards,
Bill
Hey @Bill Sheboy
thanks for your quick reply!
When using automated comments on the parent to add the watchers, all watchers of the parent task would be notified every time a sub-task is added (and the automated comment is triggered), right? Could get annoying if there are multiple watchers.
Would it be an option to have a scheduled trigger, making the rule check for new sub-task with watchers on parent tasks? Or does this leave us with the same problem of not having any "storage" available?
And instead of using comments (to avoid notifying all other watchers), could "Rule 1" also update a different (possibly) non-visible custom field that would be checked by "Rule 2"?
Thanks a lot!
Cheers
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Jonas.
Good point, and interesting question. You could use a schedule to reduce impact, or... You could add another condition to exclude sub-tasks which already have watchers, using JQL. Then they would only get notified for the newly added sub-task watch changes, right?
Of note: if the parent issue's watchers *changed* you would need another set of rules to cascade those to the sub-tasks.
Best 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 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.