Forums

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

Convert JQL to Oracle DB Query

Siddesh Mahajan
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!
January 18, 2021

Hi Team,

 

Need help to write oracle query where it displays list of issues from specific project with specific issue type and custom field value.

JQL Example: 

project = "Project Name" AND (Milestone = YES or issuetype =EPIC) Order BY summary ASC, rank

Milestone is custom field.

Please help me with Oracle query.

Thanks! 

1 answer

0 votes
Nic Brough -Adaptavist-
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.
January 18, 2021

The database behind Jira is not designed or intended for reporting.

The SQL you need to run construct if you want to get the same list of issues a particular JQL query returns is torturous and slow, and it's rare that someone gets it right.

In your case, you'll need to join the main issue type to at least five other tables.

I would strongly recommend doing this properly - feed the JQL to a REST query or use a reporting tool that understands the database for you.

What problem are you trying to solve here?

Suggest an answer

Log in or Sign up to answer