Forums

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

migration to search/jql is not working, returns no pagination properties

Attard_ Gavin
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!
November 13, 2025

Issue

  • the issue occurs on both both the get and post version, i will reference the post verison to explain the issue. 
  • The response does not return pagination properties. 

Replication

  • Using the following end point `/rest/api/3//search/jql` and domain `://api.atlassian.com/ex/jira/{cloud_id}`
  • Body contains 
    • "fields": [
      "parent",
      "issuetype",
      "status"
      ],
      "expand": "changelog",
      "jql": "filter=22448"
      }
  • Auth is basic+token
    • Scopes verified as per documentation
    • auth successful
    • We verified /myself returns correct user
  • Response
    • 200
    • returns only the issues property
    • isLast and nextPageToken not present in response

 

I am not certain if this is a broken API issue or something wrong we doing in the construct. 
Curiously when the body only contains the jql property, then the response returns to expectation and contains required pagination properties. 

Once you add any additional param to the request body, we get the same result with no pagination properties

 

2 answers

0 votes
Andy Rusnak
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2025

Hi @Attard_ Gavin , 

Welcome to the Atlassian Community.  

I attempted to replicate the behavior you mentioned and was unable to do so.  You should be able use the filter=xxx syntax provided that filter xxx is valid and accessible to the user running the API.  When I tested this out my results were paginated as expected.  

The fact that the issues are returning does mean that the request is successfully executing in your query as well.  

I am curious on a couple of things:

  • If you remove the expansion of the change log (so the "expand" : "changelog" parameter but leave everything else the same do you see any difference in the results? 
  • If you set the maxResults explicitly at 10 via ("maxResults": 10) with your original query, what results do get then? 

Best, 

Andy
 

0 votes
Matteo Vecchiato
Community Champion
November 13, 2025

Hi @Attard_ Gavin ,

Welcome to Atlassian community and thank you for your question.

I guess the problem is in the jql parameter, try to replace "filter=22448" with the corresponding jql.
As far as I know, using filter=xxx it isn't a valid jql.

Hope it helps

Suggest an answer

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

Atlassian Community Events