Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jql error api

cinformatica_aged
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2025

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 requestCaptura de tela de 2025-10-24 11-52-33.pngCaptura de tela de 2025-10-24 11-52-28.png

4 answers

2 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2025

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.

0 votes
Jehan Bhathena
Community Champion
October 26, 2025

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.

Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2025

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.

0 votes
Andrew Edwards
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 25, 2025

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?

0 votes
Florian Bonniec
Community Champion
October 24, 2025

Hi @cinformatica_aged 

 

Are you running the exact same call ? Did you change anything between both call ?

 

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events