Notify service desk agents when customer request type changes

We have several queue filters based on the issue's request type, for instance application management or general. In some cases the request type is not appropriate and must be changed the agent, so the ticket goes to the other queue and get picked up by the responsible agent. 


Is there a way to notify agents when the request type changes? In the best case notify a group of people. Can this achieved by custom automation rule or plugin?

2 answers

Hey David,


I had this same issue. I found a notifications tab within Service Desk

  1. Go to your Service Desk Project
  2. Go to the Project Settings
  3. Go to Notifications
  4. Under Actions, select Edit Notifications
  5. Add a group for the Issue Updated Notification

Hope this is helpful!

Hi Thomas, with this setting the specific group would get notifications for all updates. In my case only one specific group should get the notification when the field "customer request type" changes to the specific value, e.g. request type change to "application management" should trigger notification for group "application managers" only.

I see what you are saying now... That's a great question. I tried some sort of Automation Rule but I've never had success doing so. Hopeful someone will give us an answer shortly. Sorry I couldn't help.


0 votes
Susan Ostreicher Community Champion Aug 15, 2017

I'm looking for an answer to the same question.  We have an automation rule to add a group to the issue based on the request type, and that group is also copied on the Issue Created notification.  What we need is a way to notify the appropriate group when the request type is changed, but not when there are other updates to the issue.  

David, did you ever find a solution for this? Thanks!

Hi Susan, we have created a Script Runner Listern, which listens on "issue updated" events and checks if request type has changed. If yes, then the underlying group stored in a custom field is notified. 

@david kreuter Can you please share the script for that? I got the listener part and update event part -- but what is the particular code you used to monitor the change of "Customer Request Type" -- can you please paste the code, and possibly add some screenshots?

Hi @Andrew Bilukha, for detecting a change for a particular field you can do:

List<GenericValue> changeItems = event?.getChangeLog()?.getRelated("ChildChangeItem")
GenericValue changeItem = changeItems.find {
it.field == 'Customer Request Type'

if (changeItem) {

  // perform your action on field change


Great, thanks @david kreuter .  Mine, to trigger an event on switch "TO" Customer Request Type (we want to email a specific group when the tickets gets to their queue) looks like this:

def change = event?.getChangeLog()?.getRelated("ChildChangeItem").find {it.field == "Customer Request Type"}
if (change) {
if (
change.newstring == 'Desktop Support request' ||
change.newstring == 'Desktop Support incident'
) {"Returning true\nOld Value: " + change.oldstring + "\nNew Value: " + change.newstring)
return true

}"Inner returning false\nOld Value: " + change.oldstring + "\nNew Value: " + change.newstring)
return false

}"Outer returning false\n")
return false

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Service Desk

Looking for teams who switched from email to Jira Service Desk

The Jira Service Desk marketing team is working on a guide to help new Atlassian customers switch from email to JSD and we'd love to hear from you! Please share: - What made you realize that i...

771 views 6 10
View question

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