Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Sushant Srivastava
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
TAGS
AUG Leaders

Atlassian Community Events