When creating a ticket using Jira Automation, it does not allow to copy the watchers from the trigger issue. Nor there is an option to achieve that.
Our set up is on a project that whenever a ticket is transitioned to DONE, a ticket is created copying most values and changing the due date. That is all good and it works. The problem is that Jira Automation does not allow to copy the watchers from the trigger issue. It only allows to add or remove specific people. Th ewatchers vary on each task.
Is there a way for Jira Automation to copy the watchers from the trigger issue?
Di you try clubbing branch on "most recently created issue" and manage watcher action. Try something like this:
Let me know how this goes. Good luck!
Cheers
Sherry
That's exactly what I had as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
YESSS!!! It worked! Thank you @Sherry Goyal that did it!!! You freaking genius. Thanks as well for reaching out @Kian Stack Mumo Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sherry Goyal and @Kian Stack Mumo Systems - {{triggerIssue.watchers}} only seems to work when the trigger issue is within the same project as the new issue. Is there a way to make it work if the new issue is in a different project?
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.
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.
If you have the Watchers (now unavailable on marketplace) plugin, with "CC" being the name of the customfield.
{
"fields": {
"CC": [ {{#triggerIssue.CC}} {"name": "{{name}}" }{{^last}},{{body}}{{/}}{{/}} ]
}
}
This has the benefit of having the watchers added during creation so any notifications needed will be sent out on the create event.
This uses Smart Values' looping mechanism (#) and adds a comma to each item except the last one (^last).
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.