Hi,
We are currently planning to automate the creation of our test cases based on the label specified in the User stories.
e.g.
Project: SampleProject
User Story: SampleUserStory
Label: AutomatedTesting
Sprint: Sprintxx
However for creating the test cycles we need to give the validity from sprint validity e.g. If sprint is valid from 04/01/2017 - 04/15/2017 then Test cycle shall also be valid in that duration.
Is there a JIRA REST API End point which allows us to read meta data of current ACTIVE sprint for a Project and then another end point to read the user stories assigned in the Sprint?
Thanks,
Rachit
Hi Rachit - You could probably use 'Get all sprints':
GET /rest/agile/1.0/board/{boardId}/sprint?state=active
Given the ID of the scrum board used for your project, this should give a list of all the sprints. The 'state' parameter can be used to filter for the active one(s).
Then you can use 'Get issues for sprint' to find the issues within:
GET /rest/agile/1.0/board/{boardId}/sprint/{sprintId}/issue
Super awesome, it's working as I need Sam. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No problem Rachit. Happy to help.
Please consider accepting my answer as the solution to your question if it solved your problem (click the tick mark next to the answer).
For more detailed API related questions in future you could also check out the developer community here: https://community.developer.atlassian.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sam Hall ,
in your answer, you refer to the community forum for answers.
I encounter the same problem as encountered above.
I have downloaded the POSTMAN collection for the current Rest API version of JIRA from the official documentation page of Atlassian .
In there, there is no resource endpoint for boards described as you stated above.
Why does this difference exist? Where can I find documentation on board related endpoints?
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.