Notification for specific field change

Andris Grinbergs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2014

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

1 vote
Venkat Patchigolla July 13, 2014

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
Vladimir Horev _Raley_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2016

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"

 

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2014

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.

Suggest an answer

Log in or Sign up to answer