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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

110 views 0 5
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