I am working with the API and when I pull out lists of issues I get a bunch of fields like customfield_123, customfield_456, etc. Is there a way to get the list of what these names correspond to from the API? I can see that there is a 'Fields' section in Project Settings in the Jira UI, but I have no idea how I can connect say a custom field called 'Project Team' to customfield_123 in the API; ideally I would make a call to an API that would allow me to get these as a key-value pair so I could map correctly.
Does such a service exist?
As far as I know there is neither Java nor REST API for that,
But you can easily fetch all customfields by their names by using customFieldManager.getCustomFieldObject method within the loop of customfieldKeys. Then you can get custom field's details (id, name, context, ..)
I hope it helps
Tuncay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.