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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.