Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Running Query on Jira's Data Base

Lucas Romani de Araujo April 8, 2021

Hi,

I need to run the below query on my Jira's Data Base but I don't know how to do it and how I can see the name of the database that Jira uses. Can you help me to find these informations and to know how to run a query on Jira Database ?

 

"select * from AO_1B155C_AIO_TENANT"

3 answers

3 accepted

3 votes
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2021

Hi @Lucas Romani de Araujo 

You can use native database client utilities for MySQL, Postgres or whatever database you are using.

Also take a look at the database schema.

You can also do that using ScriptRunner by either writing a Groovy script or using the Resources feature.

I hope it helps.

Ravi

2 votes
Answer accepted
nos hyp
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2021

so nice 

You can use native database client utilities for MySQL, Postgres or whatever database you are using.

Also take a look at the database schema.

1 vote
Answer accepted
Mohamed Benziane
Community Champion
April 8, 2021

Hi,

Welcome to the community

You will need an access to the database (password, username, hostname...), and a tool like Pgadmin or Mysql depending what database Jira is using. Ask people who set the "backend" for Jira.

If you go to this page you will get information about database

https://<YOURJIRANAME>/secure/admin/ViewSystemInfo.jspa

If you have scriptrunner installed in your instance you can run your query in Jira UI.

https://scriptrunner.adaptavist.com/5.6.8/jira/resources.html#_local_database_connection

Hope this help

Suggest an answer

Log in or Sign up to answer