Hi,
I need to establish adding the assignee as a watcher on a linked ticket with Jira automation. Automation should trigger when an issue is linked (regardless of the link type).
Let's say I'm an assignee in ticket A. I then link a ticket called B to ticket A. I now want the automation to add me (assignee) as a watcher on ticket B.
Note that ticket B might not be in the same project. This far I've only gotten automation to add a watcher on ticket A when tickets get linked.
Hi @Oskar Salm
First thing, try adding just {{assignee}} or {{assignee.accountId}} as the watcher.
Next thing, you may just want to add the new watcher once...so perhaps try using the fieldChange smart values to help. You may need to experiment with this or {{changelog}} to get this to work.
And...If the linked issue is in another project, I believe your rule's scope will need to be global/multi-project to make that edit. The challenge with that is there are limits on the number of global/multi-project executions per month...and a rule like this could use up your limits for your Standard license. A work-around would be to instead call the REST API function with a webrequest to add the watcher.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.