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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted an hour ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

9 views 0 2
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