Is there a way to connect to the jira cloud database using sql developer or squirrel sql client

Gurdipe Dosanjh November 21, 2017

Hi

Is there a way to connect to the jira cloud database using sql developer or squirrel sql client or is there a add on available that allows you to look at the database tables and write queries against them?

Kind Regards

Gurdipe

Mobile: 07879682511

 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 21, 2017

Yeah sorry to report, but the Jira Cloud database is not accessible to Cloud subscribers.   This is certainly something you could control if you were using the Server line of products as you would need to setup that up in order to connect Jira to a database on setup.

However the Cloud offerings do not provide a means to directly access the SQL database in any way.

Gurdipe Dosanjh November 29, 2017

Thank you for replying

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 21, 2017

No.

And you shouldn't ever be connecting to a Jira database on any system.  Apart from some data related to bug fixing, SQL should not be used with Atlassian systems.  It is the worst possible way to report on Atlassian data, and you cannot write to an active system.

Gurdipe Dosanjh November 29, 2017

Thank you for replying

alan_treston September 21, 2020

So what is the best way of reporting off Atlassian data?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2020

Use the REST API to interrogate it.

As a simple example, look at "show me the issue data".  For the most simple of issues (a couple of comments and one custom field), you need at least 30 joins in the statement, and that increases with every field, comment, and change to the issue.  Or you can use a single REST call to get the issue, no matter how complex.

Like Simon Sahli likes this