Automatic JIRA watchers based on custom field


I am trying to set up a ticket type that automatically adds watchers based on a custom field in JIRA.  Currently when I create a ticket, a huge list of watchers is automatically added on ticket creation.  I want to have different subsets of users added as a watcher based on field selections in a multi select list field instead of including the entire list of watchers as I do now - people are getting ticket updates for tickets that do not pertain to them and would like to prevent useless e-mails.


Any ideas on how to do this?


3 answers

1 accepted

Use the Update issues post function from Update on Transition for JIRA to add watchers. Add a post function for each class of watcher subsets you have and condition the post function on the value of the custom field.



Thanks Bob. I'm evaluating your plugin now. I've been trying to create a condition to do what I need it to. I'm using a custom field called "Region" that is a checkbox field. I think that I am not getting the condition/expression correct. Do I use the name of the custom field or the field ID? Any special formatting for setting this up? Thanks!

Neil, based on your issue, you'll want to add "original" in front of the field ID or field name because you're searching for the original issues custom field value. The formatting will go as such: - %original_<customfield name>% - %original_<customfield id>% Example: %original_customfield_10010% hth

Thanks for adding that Matthew! I missed Neil's comment :(.

That was exactly what I was missing - I just tested it! Thanks guys! This project had made its way to the back burner, but everyone will be happy to know I found a solution!

Although Bob Swift's Update Issue post function is very sleek and useful, I find JIRA Worflow Toolbox's 'Set a field as a function of other fields' works best. You will only have to create one (1) post function to meet your needs. 

Simply choose a

  • read field (Region)
  • write field (Watchers)

and then add in the read values (left) and the write values (right)

  • (.*North East.*) user1
  • (.*South.*) user2
  • (.*Midwest.*) user3
  • (.*West Coast.*) user 4

Check the author's comment on 5/29/14 to see how to add and append watchers to a ticket.

AND because you are reading a multi-select field checkbox field, be sure to check the "Evaluate all the setting rules, not stoping at first match" field at the bottom of the setting rules box. This will append all users to the Watchers field that meet your criteria. 


Thanks!! I'm going to test this out too!

This option was excellent. Easy to setup and works great! Thank you!

I know this is an old post but i am desperate for some help on this. Not sure what else to do.


I am trying to set a Watcher based on a User field (Single user) custom field when the user creates an issue:


The field Watchers will be set according to the evaluation of Project Manager against the following set of rules, not stoping at first match:
This feature will be run as user in field Current user.


However this is not working and i am not being set as the Watcher. Can anyone help?


I have tried without the ' ' and tried with .* .* and just with *'s. I dont know what special characters should be around the user name, i've also tried with the full name rather than the user name, and still nothing works.

I coincidentally was trying to figure out how to do this as well.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,124 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you