Forums

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

Neeed SQL query to fetch the projects having Test issue type

Naveen_LK
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!
February 24, 2020

Hi All,

 

Neeed SQL query to fetch the projects which are having Test issue type with the Count of the the Test issues and project admins list of those projects.

 

Thanks

Naveen L K

1 answer

0 votes
sukkeong
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.
February 24, 2020

SQL? Are you attempting to query for data directly from the database?

Naveen_LK
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!
February 25, 2020

Yes

Even if i get SQL query for project list with number of tests in each project, it will be helpful

sukkeong
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.
February 27, 2020

I would not recommend performing query directly to the database. Querying through the application, i.e. using JQL in a REST API call would allow use of the same datamodel abstraction users experience through JIRA.

IMHO,

  • querying directly from the DB is not scalable or portable if and whenever Atlassian updates the DB schema.
  • access to DB should be restricted to the application as good security practice.

Suggest an answer

Log in or Sign up to answer