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

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

189 views 3 0
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