Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Send Mail notification on Custom Field (Country) on certain entry

Christian Sprenger
Contributor
October 26, 2020

We received a request for this specific case:

When someone creates a Ticket and chooses at the (Custom-) Field "Country" a specific country (example: Germany), it should send an email to a specific person (in addition to all the other mail rules).

When someone creates a Ticket and chooses a different country (example Spain) it should send an email to an other person.

 

As there is no generic field of Country I had to create a custom field.
To avoid misspelling on entry I used a drop-down menu, so "Germany" is always the same.

How can I accomplish that?

I tried to create a Notification in Notification Scheme, at "Group Custom Field Value" I do can choose "Country" but not the content of it (Germany)

I also tried to embed it into the workflow (post-operation) but there is no option to send a mail or such.

1 answer

0 votes
Jack Brickey
Community Champion
October 26, 2020

You would need an app/addon for this, e.g. Automation for Jira, Scriptrunner, Etc. Basically a listener needs to detect the issue being created and inspect the custom field and then email accordingly.

Christian Sprenger
Contributor
October 26, 2020

Thanks for the fast reply.

I was hoping to achieve that with in-house means, as I probably not will get the budget for a plugin.

If JIRA is not capable to do that, well, then so be it, but it would be nice if JIRA could do that (for the money we pay for license ;) )

Boris Berenberg - Atlas Authority
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.
October 27, 2020

One way to do this would be to have the recipients each set up Filter Subscriptions with the JQL to match their respective countries. If you can get budget and don't want to go down the route of heavy automation, we support custom notifications in Notification Assistant for Jira.

Christian Sprenger
Contributor
October 29, 2020

Hello Boris and thanks for the Info.

Budget is a problem, this is why I was looking for an in-house solution.

But thanks anyway for the suggestion

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.8
TAGS
AUG Leaders

Atlassian Community Events