JIRA truncation of issues

Using a favourite query already set up, I use the JIRA API to get all the issues that result from the query. I start from 1, set my max results to 10, and it says there are a total of 3 issues. However, only 2 issues are actually returned.When I use the filter on the JIRA website, 3 issues show up.

I have included a screenshot of what the json looks like. Notice the "total : 3" and the "issues [2]"


Has anyone else experienced this?



1 answer

1 accepted

0 votes
Accepted answer

can you show URL you are using ? In your JSON result 'startAt: 1' looks suspicious. Looks like it does not start from issue 0 in your set but has offset of 1.

Ohh thanks! Turns out it was just that. I've been using VBA (base 1 instead 0) so I've gotten used to things starting from 1. smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

232 views 6 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you