Forums

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

REST API Search: Last item in fields list is ignored

renisha fernandes
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!
June 7, 2018

url pattern: /search?jql= status!=closed&fields=[id,  summary,  priority, project] 

 

response 

"issues": [
{
"expand": "xxxx",
"id": "xxxx",
"self": "https://xxx",
"key": "xxx",
"fields": {
"summary": "xx xx xxx",
"priority": {
"self": "https://xxx/rest/api/2/priority/2",
"iconUrl": "https://xxx/images/icons/priorities/high.svg",
"name": "P1-Critical",
"id": "x"
}
}
}

Project is not there in the response 

I have tried this with multiple inputs the response always skips the last item in the list

0 answers

Suggest an answer

Log in or Sign up to answer