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?
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
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
and then add in the read values (left) and the write values (right)
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.
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.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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