How I can create in plugin an Entity with relation (i.e. OneToMany etc)to existing Jira's entites Edited

I need to interact, have relation, attach with existing Jira  Entities( VO, POJO, DOTO) in plugin
Seems "add-custom-field" plugin or "ActiveObjects" and "Add New Entity" documentation sections does not clearly helps.

1 answer

I dont think I follow.

a) JIRA tables are not really there for you to tinker with, it would likely break something.

b) If you choose to create an addon, your addon can create Tables that are specific to your addon, you do not gain ability to introduce foreign key relationships to JIRA entities.  However, there is nothing stopping you storing ID's of JIRA entities in AO tables. Of course, there is then some risk if those entities change.

c) Entities in JIRA can have 'properties' that your addon can set.  By doing this, you can potentially tag Entities you are interested in 'loosely' and use JQL to dynamically locate them.

Your exact requirements are unclear, please expand.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

457 views 0 9
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