Hello Admin,
Currently using Jira Cloud Product, I want to extract all custom fields with associated screen issue so I can evaluate all customs fields that are frequently use in our project.
Seems like Jira Cloud has no settings for this, could help me if there is any other way how to extract those custom fields.
Hello,
Welcome to the community :)
Please find details below
To get information about a custom field and the screens it is associated with in Jira, you can use the following Jira REST API endpoint:
1. First, you may want to list all custom fields to find the field ID:
GET /rest/api/3/field More details here : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/
2. Get the screens associated with the custom field
GET /rest/api/3/field/customfield_10000/screens
The custom field is id 10000 is from the first step
More details here : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-screens/#api-rest-api-3-field-fieldid-screens-get
GET https://your-domain.atlassian.net/rest/api/3/field/customfield_10000/screens
In case you want to Export all custom field with it's ID for Jira please check this article :
https://support.atlassian.com/jira/kb/how-to-export-all-custom-field-with-its-id-for-jira/
Thank You,
Prachi
good morning. @Prachi Bolar -- I see you are listed as being on the Atlassian Team. Did you even try my spreadsheet? (I am just curious). Your answer is correct (ish) but how many steps would an admin have to take? (A rhetorical question).
My spreadsheet executes the ATLASSIAN REST CALLS using MICROSOFT POWER QUERY code. Sure, I add a little logic here or there. But is essentially me making use of same parts of your product you discuss.
My solution is very reusable and this process is repeatable for all of the ATLASSIAN GET Apis. My way is basically a simplification of yours.
Final point... here is my way executed against 3 sites I have access to Including jira.atlassian.com. It took me less than 5 minutes and all I had to do is change URLS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have removed my answer (I do not think I can delete it).
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.
Hello @joanna_natial
Welcome to the Atlassian community.
You might find this discussion useful.
Are you open to considering a third party app? If so you might find this one helpful.
https://marketplace.atlassian.com/apps/1217194/optimizer-for-jira?hosting=cloud&tab=overview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use REST API calls to get the information you are asking about. You can start with the screens and get the fields, or start with the fields to get the screens.
/rest/api/3/field |
/rest/api/3/field/fieldId/screens |
/rest/api/3/screens |
/rest/api/3/screens/screenId/availableFields |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @David Nickell
To be clear, it is not "my" plugin. I don't work for the vendor that provides that plugin. I just happen to be aware of it. There may be others that provide comparable functionality.
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.