marc0l92 / obsidian-jira-issue

This plugin allows you to track the progress of Atlassian Jira issues from your Obsidian notes.
https://marc0l92.github.io/obsidian-jira-issue/
GNU Affero General Public License v3.0
225 stars 35 forks source link

[Bug] API getSprints needs an extra query param startAt for when we have more than 50 sprints #75

Closed jmkhael closed 1 year ago

jmkhael commented 1 year ago

Describe the bug When a given board has more than 50 sprints already (which is the cap of maxResults), there is no way to go beyond that. JIRA API accepts a query param startAt

To Reproduce Steps to reproduce the behavior:

  1. Call the API with a board id having more than 50 sprints,
  2. notice you cannot go past that max

Expected behavior Be ble to paginate results with the help of startAt query param. This would get resolved into a ReST request equivalent to: https://jira.domain.com/rest/agile/1.0/board/3236/sprint?maxResults=50&startAt=100

Plugin version and platform

marc0l92 commented 1 year ago

Thanks for reporting this issue, the fix has been released in version 1.53.0