Updating a custom field, triggered by event

Hey

I'm developing a custom fidls, where value changes is pased on events.
When ever a issue is changed the field might have to be updated, if some fields are changed.

I have already created the custom field, but im having trouble adding a eventlistner to it.

Or shall the event lister be a plugin module of its own?

2 answers

1 accepted

0 votes
Accepted answer

Yes, you should write a listener if you want to catch and act on events.

The listeners I've written have all been done in plugins (one as part of a bigger piece where the plugin provided some stuff that the listener used - no point in doing them separately)

Ok.

But you make a seperat module, including the listner?
Or do you implement it as a inner class?

0 votes

Yes, you should write a listener if you want to catch and act on events.

The listeners I've written have all been done in plugins (one as part of a bigger piece where the plugin provided some stuff that the listener used - no point in doing them separately)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,405 views 0 8
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