Forums

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

The new reset api for searching issue is not working and always return empty.

henry_he
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 9, 2025

We're using JQL via '/rest/api/latest/search' to query issues before. However, we got a notification to ask using the '/rest/api/3/search/jql' API. 

BUT the new api endpoint always returns an empty result.  Could you please provide instructions on how to use your new API? I was trying to follow your official document https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get.

It is TOTALLY not working....

 

3 answers

1 accepted

0 votes
Answer accepted
henry_he
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 10, 2025

Thanks @Marc - Devoteam  & @Trudy Claspill  for your suggestion.

I've already fixed it in my environment. Here are some insights about what has been updated for me.

1. Update the dependency library to the latest version.

com.atlassian.jira:jira-rest-java-client-core:7.0.1

com.atlassian.jira:jira-rest-java-client-api:7.0.1

com.atlassian.servicedesk:jira-servicedesk-api:11.0.0

com.atlassian.httpclient:atlassian-httpclient-api:5.0.0

2. Upgrade JDK version to 21 at least.

3. Check your account permission in Jira Cloud and make sure its credentials are set up correctly in your project.

4. Generally, please call enhancedSearchJql(@Nullable String jql) with default value that should be working. However, if you have special requirements, the call 

enhancedSearchJql(@Nullable String jql, @Nullable Integer maxResults, @Nullable String nextPageToken,@Nullable Set<String> fields, @Nullable Set<Integer> reconcileIssues), In this case, don't forget to set the fields parameter before executing JQL.

 

2 votes
Marc - Devoteam
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 10, 2025

Hi @henry_he 

Welcome to the community.

See tis example:

https://<instance-name>.atlassian.net/rest/api/3/search/jql?jql=project=TEST

0 votes
Trudy Claspill
Community Champion
September 9, 2025

Hello @henry_he 

Welcome to the Atlassian community.

Please share with us the code that you are using to call the new API endpoint including the payload you are providing with the call.

We can't debug your problem without seeing how you are trying to use the endpoint.

Suggest an answer

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

Atlassian Community Events