Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Custom filed user picker send notification

Nagarro iQuest December 3, 2015

Hello.

I'm looking for a way to send a notification when a certain custom field, that's a user picker, is updated, to the user that was picked. Use case: when a user is selected to review an issue, to get an email notification.

How can I achieve such behaviour please?

Thank you!

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Vladimir Horev _Raley_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2016

You can try our plugin https://marketplace.atlassian.com/plugins/net.vacom.jirassimo/server/overview
to achieve that. To check that particular field was changed use a template like this:

{{#issues}}
   {{#lastchange.items}}
       {{#equals first=field second="description"}}
            Description was changed to  {{toString}} by {{lastchange.author.displayName}}
       {{/equals}}
    {{/lastchange.items}}
{{/issues}}
0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2015

Alternatively, you can also opt to use the "JIRA Script Runner - Send Custom Email" built-in script. You will have to remove this "User Picker" custom field in the EDIT screen and put in a workflow transition screen. In that particular workflow, add a post-function to send the email that you like.

Reference: https://scriptrunner.adaptavist.com/4.2.0.2-SNAPSHOT/jira/builtin-scripts.html

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 3, 2015

You'll need to find or write a listener that can pick up any change, scan it for your particular field and send an extra email as well as the standard ones for that event.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events