Firing Events on Custom Field Update

Anthony Wu July 13, 2011

I want to be able to fire off an event based on a custom field being changed to a certain value.

So for example, if I an issue, called PROD-1234, and it has a select list field called Options.

Options has: Option 1, Option 2.

If it goes to Option 2, I want to be able to specifically fire off that event.

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 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, 2011

That's not how events work. Events are things that happen to issues, not fields. (Oh, and there are user events in later versions of Jira.

If you want to do something when a specific field changes on an issue, you will need to write a listener that catches all the issue change events and examines the field value to see if something extra needs to be done.

0 votes
Eva
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.
August 3, 2011

Wouldnt that be post function?

0 votes
Anthony Wu July 13, 2011

Ok, so I would write a listener that looks for that field change in the issue, but I would be unable to fire an event to trigger the notifications from it?

Would I just call the mail server from the listener itself then?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events