Send notification only if custom field value is selected

I need to email a specific privacy team in my organization whenever a JIRA issue comes through that has privacy concerns.

 

There is a custom field, "Needs Privacy Review", for each issue that is either marked "yes" or "no".

 

How can I notify a certain group only when the custom field says "yes".

P.S. I do have Scriptrunner installed if that's of any use.

2 answers

3 votes
Mikael Sandberg Community Champion Oct 04, 2017

Since you have ScriptRunner you can create a new Script Listener and use the Send out a custom email, it allows you to set conditions that needs to be met, in your case when the custom field is set to yes.

 

You can try to create a postfunction attched to a transition which leads to the same status. 

(Button from status to itself). once you click the button the mail will be sent to a list you specify.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,895 views 2 7
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