Custom Field Email Notification

How can Jira be configured to trigger and automatic email when a specific value is entered in a field?

3 answers

1 accepted

Hey,
this can be done with scripted post-function f.e.. If you have installed ScriptRunner Plugin you can choose some more postfunctions and script your own. And this way you can get your problem resolved. There is a conditional postfunction as well ;)
Hope this was helpful.

Greets
Simon :)

Thank you Simon for your quick response!! I've never used ScriptRunner so I'll give this a shot and let you know how is goes. - Best, Bob

As Simon says, Scriptrunner is the solution - take a look at Script Listeners (Issue Created and Issue Updated)

Condition - a Script, something like:

cfValues["Category"]?.value.contains("Crisis") && changeItems.any {

it.get('field')=='Category'

}

This triggers when the Category field has changed into "Crisis"

And thank you as well Normann!! Also thanks for the sample script. Unfortunately I don't have much expertise in this area.

Does Script Listner come with Script Runner?

Where exactly does one place this script?

Thanks,

Bob

Do either of you know of or can recommend a scripting soluition for Jira cloud? Looks like Script Runner is only available for Jira Server.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

149 views 1 17
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you