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,459,312
Community Members
 
Community Events
176
Community Groups

Automatically adding a specific user as a watcher on status change

Hi,

How can I automatically add a specific user as a watcher when case status changes in Jira Service Desk tickets?

 

Thanks,

 

I. Solomon

1 answer

Hi Israel

I think you need to use some plug-ins for that. Jira doesn't do it out the box. Do you use any automation plug-ins (Scriptrunner, Suite Utilities for Jira, Automation for Jira (pro))?

Hi, many thanks for your assistance.  We managed to make it happen.

We implemented  JSU post-function during status transition using Update Any Issue Field (JSU).

It works!

Hi Israel,

how did you achieve this?
I've tried this for about 0.5 h now but all I get is an error on ticket creation.

I tried setting the field Watchers to the user name of the person in question.
I also tried to set the Perform As User option to a user with Manage Watchers permissions to avoid permission problems.

Cheers,
Kirstin

@Kirstin Seidel-Gebert

I'm hoping you've been able to find an answer to this in the past year, but on the off chance that you haven't, here it is:

Atlassian Cloud uses unique identifiers for users, not username. Here's how to find that:

  1. Select Filters -> Advanced Issue Search and "Switch to JQL" if you're in Basic mode.
  2. Type "Assignee = username" with the person you're trying to add as a watcher, then select them from the list that pops up. Jira will now automatically convert their username to an alphanumeric string.
  3. Copy this value.
  4. Create an "Update Any Issue Field (JSU)" Post Function - have it update the Watchers field, and for the value, paste the alphanumeric user ID you copied.
  5. Check the "Append Value" option so you don't overwrite anything entered on Create.

Feel free to let me know if you run into any issues!

Cheers,
Evn

Thanks for pointing me to this, Evn! I'll have a look again when we're finally on cloud sometime this year.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events