Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

On change event for custom field

Lior Zadok March 3, 2015

Hi,

Is it possible to fire an event based on a change of a custom field. I know I can use the Issue Updated events but I am afraid it will be too broad.

I have a request to update/review all the Custom Rank fields of issues on a certain project once Custom Rank gets updated on a single issue. 

too much ?

 

Lior

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
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.
March 3, 2015

Not without hacking the core of Jira's code.  Events are fired as part of the workflow and on a number of operations.  But the events are all "something happened to issue", not "something happened to field".  The event contains a list of all field changes, so your listener can catch that and have "if rank field didn't change, then exit" as almost the first line.

Secondly on the ranking - you're going to run into scaling issues if you try to update all the ranks on a medium or large project.  It's going to be a lot of work when you've got more than a few thousand issues in it.

TAGS
AUG Leaders

Atlassian Community Events