Forums

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

Access JQL GET Query

Anshika Jain
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!
September 26, 2025

Hi Team,

I am using below curl to run jql query and token is generated using this api-token.

curl --request GET \ --url 'https://expediagroup.atlassian.net/rest/api/3/search/jql?jql=Service%20%3D%20%22Trip%20and%20Trip%20Query%20Service%20(Trip%2FTQS)%22%20AND%20status%20in%20(%22Done%22,%20%22Resolved%22,%20%22Canceled%22,%20%22Closed%22)%20AND%20project%20%3D%20ORDSUPS%20AND%20updated%20%3E=%20%222025-09-10%22%20AND%20updated%20%3C=%20%222025-09-25%22%20ORDER%20BY%20updated&maxResults=50' \ --user 'mail:token>' \ --header 'Accept: application/json'

But this curl is providing empty list of issues.
{"issues":[],"isLast":true}%

I found this doc as well where it is mentioned about deprecated url.https://developer.atlassian.com/changelog/#CHANGE-2046
Is there something i am missing here?

1 answer

1 vote
Michael Wohlgemuth
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.
September 26, 2025

Heyo! 

you're using the correct endpoint. This one is not marked for deprecation. 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get

If I test your search with some adjustments: 

<mybaseurl>/rest/api/3/search/jql?jql=status%20in%20("Done",%20"Resolved",%20"Canceled",%20"Closed")

it works with no issues. Make sure that your filter actually finds issues, and that you have access to the found issues. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events