Ability to notify a support person when users from a specific group create an issue

I have a use case where our support team would like to be notified with an email when users from a particular group create a JIRA issue. We are also automatically creating JIRA issues from a support email account.

After researching this quite a bit today I found enhanced mail notification plugins like JETI and JEMH but neither seems to easily allow me to solve the problem.

Thus I have concluded that the only way to really solve the problem is to write either a custom mail handler and or a custom listener some what like described in this post.

https://answers.atlassian.com/questions/56290/auto-assign-labels-based-on-the-user-group

The plan would be to use the GroupManager API to test if isUserInGroup() and send the email if true.

Is this a best way to solve this issue or is there a better easier way that I missed?

Thanks

1 answer

1 accepted

Hey Bruce,

ScriptRunner should be an easy way.
Place a post-function in the create-transition and give that post-function a condition/validator - only trigger if reporter is in group "specific group" - if true send a mail to group "support".

Hope this is a valid solution for you. :)

Greets
Simon

Thanks Simon,

Kind of new to JIRA and just figured out where to insert the script in a workflow. Looks like this could work. Thanks for the answer.

Bruce

Hey Simon,

This was exactly what I needed. There is actually a listener script provided that does just what I needed.

Thanks again!!

Bruce

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 Apr 17, 2018 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...

795 views 2 19
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