It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

2,690 views 11 5
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you