I'm trying to get the results of a saved JQL filter via api. I've done this before in the past, so I believe I have the API call generally correct, and I get a 200 in response, but I always get this response: {"startAt":0,"maxResults":50,"total":0,"issues":[]}
There should be 39 results, that's what I see in the UI when I go to that filter. The saved query I'm passing in the JQL has 39 results.
Here is the curl:
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer MY_TOKEN_HERE' \
--data-raw '{"jql":"filter = 10236",
"fields":["key","issuetype","status"]}'
I have tried putting the JQL in instead of calling the filter directly and I get the same results.
I use Jira Cloud.