How can I associate an active object with a Version Model?

I need to store some meta data for JIRA versions. I am planning to use ActiveObjects for this.

How can I associate a Version with my Custom Active Object Class?

1 answer

You should add an int field to your AO bean class which will contain the version ID. 

Then your plugin might use events like com.atlassian.jira.event.project.VersionDeleteEvent com.atlassian.jira.event.project.VersionCreateEvent to properly synchronize the AO table when there is addition or removal of versions.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,073 views 2 7
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