Forums

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

List of project using a particular issue type

Ron Jacob
Contributor
April 26, 2018

I need to know list of all projects in jira using a particular issue type.

Is there any SQL query for same

2 answers

2 accepted

3 votes
Answer accepted
Ipsita Dash May 9, 2019

Hi,

The below query worked for me. Give a try.

SELECT DISTINCT P.pname, P.pkey, P.lead AS project
FROM project as P
INNER JOIN jiraissue as J on J.PROJECT = P.ID
INNER JOIN issuetype as I on I.ID = J.issuetype 
WHERE J.issuetype= 10300

 

Thanks,

Ipsita Dash

1 vote
Answer accepted
Deleted user April 26, 2018

@Ron Jacob, you can find this information on the issue type scheme administration screen.

Here is a SQL query that will return the list of project for all issue types:

select IT.id, IT.pname, PROJ.name
from configurationcontext CC
join optionconfiguration OC on OC.fieldconfig = CC.fieldconfigscheme
join issuetype IT on IT.id = OC.optionid
join project PROJ on PROJ.id = CC.project
order by IT.pname;
Deleted user June 27, 2018

@Ron Jacob, if my answer addressed your question, would you please 'Accept' it?

Like Ekaterina Berezutskaya likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events