I'm trying to retrieve all sprints related to a Board and am using the following API call:
string jiraUrlEnd = $"/rest/agile/1.0/board/{boardId}/sprint?startAt={startAtNumber}";
When receiving the response, I'm seeing a ton of sprints from other boards that shouldn't be retrieved.
Is the API I'm using incorrect, or is there something I can do to retrieve the sprints from the board ID I'm sending?
Thanks.
Welcome to the Community!
Yes the API is correct as we use it internally to fetch the active Sprint for reporting.
Can you confirm if you see different originBoardId in the response? Not very sure of this behavior, when the BoardID is specified in the API request.
Cheers
Ajay
No, I just checked and OriginalBoardId is zero for all of them.
I'll need to look into my code further, but do you think I'm using the wrong board ID maybe?
Thanks for your help.
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.