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
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
 

Attard_ Gavin
November 14, 2025

Thanks Andy, ye i tried that. I removed each parameter one by one, to see if any one was the issue, it only worked once i removed all of them and left jql. 

What i didn't state here is that i am using Knime for the data pull. I wonder if it is doing something funny to the params which is breaking it, but from what i understand it shouldn't be

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

@Attard_ Gavin , thanks for the additional information.  Interesting it needs to remove all the parameters other than JQL in order to work.  

I am not familiar with Knime, I agree that it likely shouldn't have an impact, but as a test could you try using curl or Postman instead?  When I tested this I was using Postman.  This would just help to rule out any possible issues with Knime.  

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

Attard_ Gavin
November 14, 2025

The filter isn't the issue, i get the same result if i reference the filter or use the same jql query the filter uses. 

Suggest an answer

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

Atlassian Community Events