Forums

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

API JIRA reporting on V2 endpoint not working when changed to v3

Dejan Stajic
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!
October 29, 2025

Hello team,

 

I'm pulling JIRA incidents into power BI via rest API that connects to created filter in Atlassian/Jira.

It worked nice with REST API v2 endpoint, but with the new one V3 I have issues and was hoping that someone can help me to solve them.

First problem I encountered was that API call was not working when simply replaced 2 to 3, I solved this by using this combination: rest/api/3/search/jql?jql instead of rest/api/3/search/jql.


The 2nd issue I got was that output returned was not identical. but I have solved that as well.

Last one that I have and still not being able to solve is getting all results from the filter.
I have created logic in my query that collects all results from the first page (100) checks the next page token and moves to the next one until there is no more. At least that is how I wanted to work, but what I actually get is a loop that returns the same 100 results from the first page. I have read that there is a bug reported for this but would appreciate if someone could provide a workaround.

 

Thanks.

2 answers

0 votes
Ignacio Vera
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.
October 29, 2025

Hi @Dejan Stajic 

The pagination behavior in v3 changed

Try using the startAt parameter instead of relying on nextPage, for example:

/rest/api/3/search?jql=filter=12345&startAt=100


Loop until isLast is true.
That usually avoids the duplicate-page issue with Power BI connectors.

0 votes
Sunny Ape
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.
October 29, 2025

Hello @Dejan Stajic 

I have read that there is a bug reported for this

Can you provide a link to where you read that or where that bug has been reported. There was a bug related to the nextPage token length when the endpoint first came out, but that was fixed ages ago.

If I had to guess, it's more likely that:

  1. Your code is re-sending the same, first nextPage token with each request, not the subsequent tokens that come with each subsequent page until isLast is true.
  2. Your code is not properly declaring the nextPage token parameter in the request, so the API is just giving you the first page, over and over.

Just use your API test tool to validate the functionality of the endpoint and your requests, thereby isolating if the fault is in your code or not.

Suggest an answer

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

Atlassian Community Events