Can i acess the JIRA DataBase to run my own Querys?

Hi guys,

I'm wondering if i can make mwy own querys in JIRA database instead of using JQL.

I need more specific searchs to support my decision management.

We will use JIRA Local instead of JIRA Hosted, so, i think i have control of the database.

Am i correct? Any comments?

Thanks a lot!

2 answers

1 accepted

Comments Closed
This widget could not be displayed.

Yes, help yourself. But bear in mind

  1. You must not write to it (unless Jira is offline and you re-index after starting it)


  1. Zero security - with read access to the database, a user can effectively bypass any and all security you've set up in Jira. It's only acceptable if your users can be trusted, or you have a blanket "anonymous can browse *all* issues" setup.
  2. Load 1 - direct access to a large Jira database can have an impact on the database server, which could potentially slow the Jira system access. Queries with large data set results can become a problem
  3. Load 2 - inefficient queries can easily cause load problems too

Have a look at to get started. It's quite complex...

This widget could not be displayed.

You can try an addon

Here you can use JQL and SQL. Using JQL - you can have benefits mentioned earlier in this post. Using SQL - you can power your query with aggregates and other constructs JQL does not have. Example, below - data extracted within JQL and then aggregated by SQL.

SELECT project, count(key) 
'resolution IS EMPTY AND "Bugmaster Rank" IS NOT EMPTY AND (text ~ "test" OR text ~ "hello")')
GROUP BY project
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 yesterday 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...

72 views 1 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