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

Bulk change/update watcher

Hi There,

We recently created new internal user "ABC" from AD user. Before disabling old id "XYZ" we need to transfer all the issues to "ABC". How can I move issue watchers from "XYZ" to "ABC". Please advise if you have any solutions.

 

Workaround:

I tried adding ABC as admin on the project, but I can't see option to bulk edit but when make ABC as System Admin I can able to update watchers for all the issues. Any other solution?

2 answers

1 accepted

3 votes
Answer accepted

You can use the project "Automation" to do this.

 

Step 1:  Create a JQL query to find the issues for which you want to add watchers.

  • You can do this from the Issues -> All Issues.
  • Update the filter only to include the issues you want to add watchers.
  • Click on the JQL tab/button to show the filter as JQL.  Copy the JQL.

Step 2:  Create an Automation to add watchers to issues.

  • Project Settings ->Automation
  • Create Rule
    • Create Trigger:  Type = Schedule
    • Choose any schedule you want.  We are only going to run it once.
    • Check the box "Run a JQL search and execute actions for each issue in the query."
    • Paste the JQL query you created in Step 1.  You can verify it by clicking on "Validate Query".
    • Save Trigger.
    • Add a new component of type "Action".
    • Select "Manage Watchers"
    • Add the users you want as Watchers.
    • Click "Save"
  • Name and Save your Automation

Step 3:  Run your new automation

  • Even though you have created it to run on a schedule, you can run it manually by clicking on "Run Rule".  (You can optionally wait until your schedule kicks in.)
  • Once run, all the issues that meet the criteria of your JQL query will have the new Watchers added.

Step 4:  Delete the automation

  • Delete the automation if you don't want it to continually run on the schedule.

This answer, using the automation rule and just running it once, works faster than bulk updating anything. i think i would rather use this instead of bulk update actions, if it didnt count against the number of automations that we are allowed monthly.

I want to thank you @Anthony Brittis because i used this today and it worked perfectly!

I had to bulk update a users's watched issues and add someone else. and this worked beautifully. so thank you for the idea!

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 30, 2019

Hello Eswar,

There are some add-ons that can help you bulk add watchers as you need:

1 - JIRA Command Line Interface - CLI - it has an addWatchers action. That can be used with the runFromSql action to select issues and add one or more user ids as watchers. Check the documentation below for more details:

CLI Documentation

2 - Watcher Custom field for JIRA - It adds a custom field type of watchers and add to your screens, allowing you to bulk update it like any other fields.

Let me know if this information helps.

Suggest an answer

Log in or Sign up to answer