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

2 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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,878 views 2 7
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