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

Sushant Srivastava November 26, 2014

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

0 votes
Boris Georgiev _Appfire_
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.
November 26, 2014

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