How do you notify a user about an issue type change?

One of our project managers would like to be notified when an issue changes issue type, as different issue types fall under the domain of different managers. One would assume that the "Issue Moved" event would let her do so, since the "Move" function is what is used to change issue type, but apparently that only notifies when an issue enters or leaves a project.

So, does anyone know if there's a way to a user about an issue type change, either within JIRA itself or through an add-on?

4 answers

1 accepted

This widget could not be displayed.

You could write a Script Runner script listener and watch for the Issue Updated event; if the event includes IssueType in the list of changed fields, add the user as a watcher, or send a custom email, or emit a custom event.  If you emit a custom event, you'll still have to add the user to the notification scheme, for that event.

Thanks, this worked perfectly!

Any chance you can share the groovy that you used? I am trying to notify an AD group when a ticket is changed to an Issue Type. So far, I am using a generic event to notify the group when an issue is created with that issue type, but not when an existing ticket is updated to that issue type.

I just used a simple scripted condition: == 'Feature Request' && changeItems.any {  it.get('field')=='issuetype' }

Just replace "Feature Request" with whatever your issue type is. I set Script Runner's listener function to run the condition whenever an issue is updated, and fire an event when it evaluates to true.

This widget could not be displayed.

Have them watch the issue and add All Watchers to Issue Updated in the notification scheme.

Sorry, to clarify: the manager would like to know whenever any issue changes issue type. She can't realistically watch all issues in the system, nor can she afford to get notified whenever any issue in the system is updated.

Then update the notification scheme to add a certain role where your manager wants to be.

This widget could not be displayed.

You should also check for the Automation Plugin as an alternative.

It is quite to powerful and I'm sure that I can intercept the issue type change. As action, you could send the email with the PDF Automation add-on (or the Excel Automation add-on) using the Send PDF action. 

This widget could not be displayed.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

128 views 2 0
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