I have a custom user picker field for Tester and I want to send a notification to the person in that field when it is added for the first time or changed. Since there's no specific workflow event associated with the change (I don't want to spam them using Issue Updated) I'm wondering if there's a way to do this. I'm an administrator not a developer so I would prefer a solution that didn't involve scripting. Is it possible?
In your project notification scheme; in Issue Updated System Events; add "custom user picker field".
Look this link; it can help you.
I'm not sure I understand what you are suggesting. If I use the Issue Updated event, the tester will get a notification any time ANY field is updated in the issue, correct?
I have found that the amount of attention a user pays to JIRA mail is directly inverse to the amount of mail they get. I need to make sure the users only get notifications they really need.
You will have to write a custom listener that captures changes to the field and then notify the user. For notifying user, you can fire a custom event or send the mail directly. Firing event is usually easier.
Thanks @Jobin Kuruvilla [Go2Group] , I am exploring the change history part, but when I checked the API : https://developer.atlassian.com/static/javadoc/jira/4.4.1/reference/com/atlassian/jira/issue/changehistory/ChangeHistoryItem.html, its kind of giving me the whole list of change items updated so far. How can I segregate which custom field was updated on "per update" basis?
Today I discovered there are Listeners and then there are Script Listeners. Since I wasn't getting anywhere with plain vanilla Listeners, I decided to give Script Listeners a try. I added a new one on Issue Updated with this condition:
it.get('field') == cfValues['Tester']
I cobbled that together from a couple of examples. Sadly it isn't working.
Does ayone know the correct syntax capture a change in a custom field?
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