It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

2 votes
Answer accepted

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:

issue.issueTypeObject.name == '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.

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.

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. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

863 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you