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

This widget could not be displayed.

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 Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

130 views 1 3
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