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 Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

410 views 1 13
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