Trying to figure out a way to populate any changes in the watchers list of a parent ticket down to all of its subtasks. I'm not finding a trigger for if the watchers list is changed, though. The watchers list doesn't seem to be available. Any ideas?
It's not possible (as far as I know) to trigger a rule based on watchers being modified. But it is possible to copy Watchers from a parent to its child issues.
You'll need to choose a different trigger. This is how I did it:
This rule searches for issues that are not sub-task issue types and have at least one watcher.
The action will remove all existing watchers each time, and refresh them with the current watchers. This action could take place even if the watchers already match. It's important to remove the watchers though, otherwise you're just copying across newly added watchers - and removed watchers would be ignored.
Thanks, I figured I could use some sort of smart value with a daily check. I just wasn't sure if it was parent, or parentIssue or what. Is there a complete list of builtin smart value options, as I don't see parent in the documentation (I could also be overlooking it)? Also, thanks for the tip that adding/removing Watchers not counting as an issue update! Yeah, it looks like it is limited to 1000 issues even at the project level. I just needed to add a clause to the JQL query for issue status for my needs. Also don't want to remove watchers on the subtasks, so didn't include that part. Some subtasks might need specific watchers that the other subtasks and the parent don't need.
Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding ...
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