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

Access to the database from Jira on the cloud

How do we get access to the database from Jira on the cloud? Is it possible?

10 answers

1 accepted

4 votes
Answer accepted

Hi Aaron - the REST API is your best bet.

4 votes
Jaime_S Atlassian Team Jul 08, 2015

Hi, Aaron.

 

You can check documentation for REST API here: https://docs.atlassian.com/jira/REST/latest/

Though you don't have access to the database, you can create a ticket at Atlassian Support and we'll be glad to help you out with any inquiries or problem you may have.

Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support

 

What if there's a query you need that doesn't exist in the current Jira REST API?

Is it possible to write a Jira app that accesses the database and provides that info for people who are using it in the cloud?

Thanks,

  Mark

No app or user can access the database directly but the rest APIs are pretty comprehensive. What data are you looking for? If it truly does not exist via the rest API I'll help raise an issue in the right place with you to get it looked at promptly by the right team.

Well there are some parts of the JIRA documentation that point you towards changing values in the database, for example:

https://confluence.atlassian.com/jirakb/how-to-edit-the-dates-associated-with-a-closed-sprint-779159174.html

hi Richard,

 

do you have a link to documentation for the Rest API?

 

let me know and thanks a lot,

 

regards,

aaron

What i actually need is that at Create Issue, Priority + Urgency will result in a new  Severity issue with a metric how severe an issue is. I have found a case how to do it (https://confluence.atlassian.com/display/JIRA/Setting+Priority+field+value+based+on+customfield+value)

regards, aaron

If you want to know why we don't allow it ask yourself this question: would you expect GMail to give you database access? It is just a counter intuitive thing to allow for a service that is supposed to be managed for you. I would also recommend using the REST API's; if they can't do what you need them to then let us know and we'll look into it. I'd be very surprised to hear that you could not do somehing via the REST API's though. They are pretty comprehensive: https://docs.atlassian.com/jira/REST/latest

I generally advise not accessing JIRA via the database anyway, since the DB user will be able to see all the data in JIRA, not just what you want them to see. REST is the way to do it, and for non-cloud, ScriptRunner

Hey, just use 3rd party services to integrate with databases. Check this one, it supports the most popular databases like SQL Server, MySQL, etc

Suggest an answer

Log in or Sign up to answer
TAGS

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