Forums

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

How to get only the issues shown in my kanban board?

jkazan January 22, 2019

I have a kanban board with 

  • 10 Selected issues
  • 1 In Progress issues
  • 3 Implemented issues
  • 1 Closed issues

 

How do I get only these 15 issues through REST interface?

I currently use GET https://jira.myDomain/rest/agile/latest/board/242/issue

but this gives me all my issues (depending on maxResult of course). I need to know exactly which issues are on this board. In particular, I need to know about the closed issues on the board.

 

All help is much appreciated!

1 answer

0 votes
Alexey Matveev
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 22, 2019

Hello,

Have a look at the filter, which is used by your board (board settings -> general). Then execute the search rest point with ?jql=filter=yourfilter.

https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/#api/2/search-search

You will get all required issues.

jkazan January 28, 2019

Thank you for the answer Alexey. I had no chance to define such a filter and try it. What I ended up calling was the following:

https://{myDomain}/rest/api/2/search?jql=project={myProject} AND fixVersion="{myVersion}"

What I wanted in the end was all the closed issues related to a specific release of a software, which I would get with the above call.

 

Cheers

Suggest an answer

Log in or Sign up to answer