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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried adding a custom event? https://confluence.atlassian.com/adminjiracloud/adding-a-custom-event-776636672.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have them watch the issue and add All Watchers to Issue Updated in the notification scheme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then update the notification scheme to add a certain role where your manager wants to be.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.