fire an custom event

what I need is when the field "component" changed , it will fire an custom event . How can I implement this custom event ?

2 answers

Hello xin xin,

May I know what kind of custom event you want to perform once the field "component" is changed?

0 vote

You'll need to hack the core of Jira's workflow engine to do this. Changing component already throws "issue updated" from the edit screen, or whatever event you want if you do it in a transition. There's no support for more than one event being thrown and you can't customise "edit" without hacking the core code.

I'd forget it.

Write a listener that catches any "issue has changed" type events, checks the issue to see if component has changed, and then trigger whatever it is you wnat to do when component changes.

Or remove component from the edit screen and only let it change during transitions, where you can choose the event to fire.

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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

640 views 6 12
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