Notification for specific field change

Is it possible to fire notification event on specific custom field edit. So that notification is sent only if custom field xxxxx is edited, but not when other fields are edited. If it is possible please advise how...

3 answers

You can try this as part of your post function (send custom email - from script runner )

changeItems.any {
it.field == 'custom_fieldname' && it.oldstring == "value1" || it.newstring == "value2"
}

0 votes

You need to code to do this, and in the core of Jira.

There's no way for Jira to know what fields you wish to arbitrarily ignore. When an issue is edited, an event is fired, there's nothin in the event system that says "fire different events based on what fields have changed" and you'd need to embed that in the core.

The only way to do this off-the-shelf is to move the edit of fields into the workflow, then you can control what fields are offered to users and what events are fired.

Andris,

You can try Jirassimo for that (https://marketplace.atlassian.com/plugins/net.vacom.jirassimo/server/overview)

Have a look at the https://jirassimo.com/web/examples in section "Example #7, Checking if particular field was changed"

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27,466 views 2 7
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