Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filtering all issues by a user in specific sprint

lucas_almeida
Contributor
January 27, 2020

GET request to: https://{{my-domain}}.atlassian.net/rest/agile/1.0/board/{{board_id}}/sprint?state=active

It returns a sprint with id 232. Now i wanna get all issues, inside sprint 232 by a specific user, but i´m not sure how to proceed. Can someone help me?

 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2020

You can run JQL over rest - "sprint = 232 and reporter = user" should fetch it (I'm not sure what you meant by "by a user" so I took a guess at it being the reporter)

lucas_almeida
Contributor
January 27, 2020

The user i´m looking is the assignee name, usually name.lastname here.

I´m using REST  'cause it is part of a small integration.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2020

Ok, flip my "reporter" over to "assignee".   REST is fine, you can run JQL over it and get a block of json with all the issue data in it

lucas_almeida
Contributor
January 27, 2020

I tried what you´ve said and it worked like a charm. Thank you :)

Suggest an answer

Log in or Sign up to answer