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: 

How do I find Projects that are using this Plug-In? (Project Specific Select Field)

Deleted user
February 22, 2016

I want to search for which projects in JIRA are using the "Project Specific Plug-in", but as far as I know, you have to go to each individual Project and look for whether that project has any custom fields that were created with this plug-in. This can be a monstrously large task if you have a lot of Projects in your database. Is there an easier way to find any projects that are using this plug-in?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Boris Georgiev [Appfire]
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.
February 22, 2016

This can be easily achieved by running an SQL query against the JIRA database. Something like this:

select * from project where ID in 
(
select distinct jis.project from customfieldvalue cv 
join jiraissue jis on cv.issue=jis.id 
where customfield in 
(select id from customfield where customfieldtypekey='com.atlassian.jira.plugin.system.customfieldtypes:textfield')
);

You have to replace the com.atlassian.jira.plugin.system.customfieldtypes:textfield with the typekey of the project specific custom field.

TAGS
AUG Leaders

Atlassian Community Events