Looking for a query that will pull all the projects using a particular custom field
Hello @Sue Hannan ,
Good day! Welcome to Atlassian Community :)
In Jira cloud, JQL doesn't have a direct way to query projects that are using a specific custom field because custom fields.
However you can use following queries:
You can also navigate to settings -> Work items -> Custom fields and search for your required custom field and click the project link under project column and you would see the list of projects, the custom field is using
Hope that helps!
Hey @Sue Hannan
Without have to make a number of API calls you could do a couple of things of the top of my head.
1. JQL: "name of field" IS NOT EMPTY - this will return all tickets where the field has been used. If it's not too many you could count the different project keys.
2. If you go to the "work items" section from the cog, go to custom fields, search your field and it tells you how many projects it's used in, and if you click the link you'll see the projects.
Someone may know some better ways without numerous API calls.
Thanks
Aaron.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.