Can JIRA notify users when Priority field is changed?

Hi,

I am using OnDemand version of JIRA, and I am looking for a way to notify users when Priority field is changed. Is there any?

Thanks,

Miki

3 answers

1 accepted

3 votes
Accepted answer

Changing the priority triggers an update Event. On this Event a notification can be sent. However, this would be the same for all other updates.

As far as I understand your objective you want only inform some users on the change of the priority.

You could do following.

  1. Remove Priority from the edit screen.
  2. define a Change Priority event (see here)
  3. add to each step a transition "change Priority" (the same step as target step) with Priority in the transition screen. Fire the above mentioned event in the Postfunction
  4. Add this event in your Notfification scheme

Then you got what you need.

Cheers,

Udo

I forgot, but you should also use a validator that Priority has to be changed in those transitions. Otherwise there could be a notification without a change of the priority.

Hi Udo,

I am glad that there is a way to set a notification.

The challege would be that I need to remove Priority first. In other words, past issues which have priority value will be reset to no value?

Thanks,

Miki

You would remove it from the edit screen only. That means you would not be able to change it via Edit button or inline edit. Please see here how to use different screens for issue operations.

The priority value of old issue will not be changed.

I see. Thank you!

Hi Udo,

Do you happen to know there is a way to notify JIRA users when an issue is created with a certain priority level? For example, I want notify certain JIRA users when an issue is created with Blocker level in priorty field.

Thanks,

Miki

0 votes
Ahmad Danial Atlassian Team Feb 11, 2013

Hey there, myjura.

In addition to the answer that was provided by Udo, I think that the standard JIRA notification should be able to cater for this. Falling under the Issue Updated event, you can configure it to send notifcation to the respective users as per the following:

https://confluence.atlassian.com/display/JIRA/Creating+a+Notification+Scheme#CreatingaNotificationScheme-Associatinganotificationschemewithaproject

Hope it helps!

Warm regards,

Danial

"Issue Updated" event includes all events as far as I understand. Not just Priority field. Thank you for your suggetion, but it won't work for my situation.

Miki

You will need to create a custom event . Now with help of the behavoiurs plugin you will need to fire the event whenever the priority field is edited . you will need to wite a groovy script which will fire this event refer this java code .

Now when the event is fired you will need to configure this in the notification scheme .

Now the mails will be sent whenever the priority field is edited/changed to specified users.

Hope this helps .

I am Sorry , I did not see the Ondemand tag . This will only work for Downloaded JIRA .

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,657 views 18 21
Read article

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