The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

List of project using a particular issue type

Ron Jacob
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 Champions.
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
TAGS
AUG Leaders

Atlassian Community Events