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.
Oh, I see, that's correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.