Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,617
Community Members
 
Community Events
175
Community Groups

Jira Automation - add assignee as a watcher on a linked ticket

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.

auto.png

1 answer

0 votes

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

Thanks Bill. I'll give it a swirl and let you know how it goes.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events