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

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

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.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

631 views 4 15
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot