Hi Experts:
I used curl GET command to query all related Jira ticket number/status in Jira Cloud for years, but it’s not worked any more since September.
curl -D- -u <my_email:my_API_token> -X GET -H ‘Content-Type: application/json’ https://<my_company>.atlassian.net/rest/api/3/search?jql=summary~‘794’&fields=summary
{“errorMessages”:[“The requested API has been removed. Please migrate to the /rest/api/3/search/jql API. A full migration guideline is available at https://developer.atlassian.com/changelog/#CHANGE-2046"],"errors”:{}}‘fields’ is not recognized as an internal or external command, operable program or batch file.
I tried using the /rest/api/3/search/jql API, but I was unable to get any results.
curl --request GET --url https://<my_company>.atlassian.net/rest/api/3/search/jql?jql=summary=794 --user ‘<my_email:my_API_token>’ --header ‘Accept: application/json’
{“issues”:,“isLast”:true}
curl: (6) Could not resolve host: application (remove --header ‘Accept: application/json’ will not get this line)
I tried different “jql=…” formats, but none of them worked:
jql=summary=794
jql=summary~‘794’
jql=summary~‘*794*’
jql=summary%20IN%27794%27
jql=project=SUPPORT
jql=project%20%3D%20SUPPORT
And I cannot use some parameters:
jql=project%20%3D%20SUPPORT&nextPageToken=%3Cnull%3E&maxResults=5000&fields=summary
‘nextPageToken’ is not recognized as an internal or external command, operable program or batch file.
‘maxResults’ is not recognized as an internal or external command, operable program or batch file.
‘fields’ is not recognized as an internal or external command, operable program or batch file.
Pleas help what I missed here.
Thanks.


