It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I am trying to develop an atlassian connect jira plugin. How to connect with jira ondemand database?

Prathyusha Gali Nov 13, 2017

I am trying to develop an Atlassian connect jira plugin with Atlassian cloud spring boot connect framework. How to connect to jira on-demand database? Can I connect or connect? How is data stored in jira? which database is used?

2 answers

0 votes
Steven Behnke Community Leader Nov 13, 2017

You cannot connect to the database of a Jira Cloud instance.

The only data you may store in Jira Cloud is on Issue Properties. All other data must be stored by you in your app, in your database. 

Prathyusha Gali Nov 13, 2017

Then how can I fetch the data from JIRA cloud instance?

Nic Brough [Adaptavist] Community Leader Nov 13, 2017

Please read Steven's answer again.

Steven Behnke Community Leader Nov 13, 2017

Via the REST API. 

Prathyusha Gali Nov 13, 2017

Okay, only via the REST API. And if there is no existing predefined API, then I cannot fetch my data. Please correct me, if I am wrong.

Nic Brough [Adaptavist] Community Leader Nov 13, 2017

You are correct.  Forget about the database, your only access to data in a Connect add-on (or other external systems) is the REST API.

0 votes
Steven Behnke Community Leader Nov 13, 2017

Correct as far as I can understand. How about you yell us what data you're trying to retrieve? 

Prathyusha Gali Nov 13, 2017

I want to calculate something, let it be X.  For that, I need the number of review defects per month where review defect is an issue type.

Steven Behnke Community Leader Nov 13, 2017

Understood.

Simply using the Search API while searching for 'type = Defect AND created < startOfMonth(-1)' should return you a count of all defects created in this month. 

The API you have available to you is Jira Connect and JIRA REST. Outside of that I can't comment. 

Prathyusha Gali Nov 13, 2017

Okay, thank you for your valuable information. Very helpful.

Steven Behnke Community Leader Nov 13, 2017

Happy to help

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

6,223 views 22 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you