Can I access the JIRA database from the Java code of my servlet plugin?

Hey guys. First of all I am completely new in JIRA developing.

I have to create a own table in the JIRA database where I can put my data.

So how can I do this and how can I use the JIRA database in the Java code of the Plugin? Is this even possible or do I have to store my data in another Database on the server where my jira is running? 

 

Thanks for helping :)

1 answer

1 vote
Sam Hall Community Champion Apr 22, 2017

Hi Alexander - You could start with the developer documentation here:
https://developer.atlassian.com/jiradev/jira-platform/building-jira-add-ons/jira-plugins2-overview/data-storage-for-jira-plugins

And read about about Active Objects, which gives your plugin as way to store data, here:
https://developer.atlassian.com/docs/atlassian-platform-common-components/active-objects

You can also use the developer community at  https://community.developer.atlassian.com to ask more detailed development related questions.

You can read more about the Developer Community in this article: https://community.atlassian.com/t5/Feedback-Forum-articles/The-Atlassian-Developer-Community/ba-p/459061

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

193 views 4 8
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