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 votes
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,120 views 13 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot