the api /rest/api/3/search/jql are show error
when I try sent the request sometime it return data sometime return a array empt, the same request
Hello @cinformatica_aged
When you then used the Get Issue endpoint for the Issue with the key SIG-901, what was the value returned for customfield_10116?
PS. The part of your request path that says fields={fields} is invalid; the fields parameter is declared as a comma separated list of strings, not strings inside braces. Next, since there is no field called '{fields}', the API is just doing what you asked it to do and returning only the fields you asked for... in this case, no fields other than the default ones.
Hi @cinformatica_aged ,
Your snapshot seems like it's from Postman, the {fields} that you've mentioned in the url won't work with dynamic values if that was the goals.
If you want to variable it use double brackets {{fields}} Store and reuse values using variables | Postman Docs.
To test out the search I'd recommend searching only one issue eg. jql=key%20%3D%20SIG-901.
About the part where the results were shown sometimes and the rest of the times it wasn't, it may have been a glitch at Atlassian's end, since there were changes being applied to my sites too in the last week that led to maintenance windows, although this is just a wild guess. The status page is clean on the time you've reported this Jira Status, so I'm guessing it may have been a glitch.
If the Empty result continues overtime, raise it with Atlassian here Atlassian Support so that they can debug the root cause for it (since you're on the free plan that may not be possible either), or drop an update here, and we can try to get their support team's attention on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good advice regarding the use of variables in Postman @Jehan Bhathena .
A even simpler possibility for the OP's problem is... someone or something changed the value of the custom field between the first and the second search.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @cinformatica_aged
When you logged into Jira's web interface then opened Work Item SIG-901 and looked at that custom field, what value was it showing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you running the exact same call ? Did you change anything between both call ?
Regards
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.