Is it possible to ask for custom fields by name, instead of "customfield_"?
Hi @Robert Egan
You can use search query parameter. Try this out please:
/rest/api/latest/customFields?search=cfbyname
Yes, that will return the id: which can be massaged into customfield_id for the next call.
I'd like to know why Atlassian couldn't do that for /search. Because clearly the code is there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you need a second call? Can't you get customfield details using aformentioned rest method?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The /customFields end point only returns metadata about the custom fields. The /search end point is required to get issue values of those custom fields.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.