Sending email based on field value

John Schultz July 24, 2014

We have a JIRA project that integrates with our helpdesk's ticketing system, pushing tickets for the development group into JIRA. We have four development teams that work out of that JIRA project, using a custom field to mark an issue as belonging to one of those teams. Is there a way to fire an email based on that field value being set? I have a separate notification scheme for that particular JIRA project, but it looks like I can only send notification on the issue changing, not a specific field value changing. Is there a plugin that might work for this solution (we are using OnDemand), or maybe some other option that I'm not seeing? Thanks!

2 answers

0 votes
Sylvain BALERIN October 11, 2016

Hi John, did you find a solution for this problem? I have a very similar issue with JIRA 7.1: our tickets are created with a "Sub-project" field and I would like different people being notified according to the value of this field...

 

0 votes
Jaime S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2014

Hi, John.

In OnDemand, there is a way to notify people if any field is changed, by changing the notification scheme to notify after the event IssueChange is triggered. However, this does not allow you to choose a field, it will notify after any field is changed.

I search a little bit and some people were asking for that for JIRA Behind the Firewall, for example: https://answers.atlassian.com/questions/67193/send-e-mail-notification-after-editing-a-specific-custom-field-in-issue-edit-screenand https://answers.atlassian.com/questions/42379/how-do-you-set-a-notification-for-changes-to-a-specific-field. However, all these used Listeners, which are not currently allowed in OnDemand, since they are a restricted function, as you can see here https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand.

There is already an improvement request to allow Listeners in OnDemand, you can find it here: https://jira.atlassian.com/browse/JRA-31598. You may want to vote for this improvement, so it is chosen and watch it to see its progress.

Customizations are also not allowed, so I cannot think of a way to notify only when a spefic field is modified, not until Listeners are allowed.

I hope it was helpful.

Kind regards.

Suggest an answer

Log in or Sign up to answer