Hi All!
I'm having trouble to find a solution for getting all stories from agile board that are with status done and limited number of fields. In my case, I want to get only "key" and "self". GET request that returns all fields is similar to: http://<IP>:<PORT>/rest/api/2/search/?jql=project%3D"MyProject"%20and%20status%20%3D%20done
I want to get it as JSON result.
Thanks in advance!
I found a solution for myself:
POST /rest/api/2/search/
JSON body:
{
"jql": "project = 'MyProject' AND status = done",
"maxResults": 4,
"fields":["key"]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.