Hello everybody
I konw that there are somehow similar questions. But no solution workes for me. I am new to using the jira API and so an. I am trying to get all issues which are stored in a specific board. With:
https://company.net/rest/agile/latest/board/BoardNumber/issue
it is working somehow. But i get all issues. What I want, are only the issues which are still in the "open" collumn. So i tried much things e.g.
https://company.net/rest/agile/latest/board/BoardNumber/issue?jql=status in (open)
or
https://company.net/rest/agile/latest/board/BoardNumber/search?jql=status in (open)
and so on. But nothing is working. Can someone help me out here? Thanks in advance.
hi @[deleted],
The above jql doesn't work because your url is incorrect. It should be like this
https://company.net/rest/api/2/search?jql=status in (open)
But this won't solve your problem because it will grab all the issues that are open.
Instead since a board is built on a query & the filters on boards are all saved filters - you should simply be able to find from the list of all filters available. After finding the filter used by the board you wanted, copy it and append status in (open) to the filter.
Use this modified filter by appending it to the above jql url below
https://company.net/rest/api/2/search?jql=
If you don't know where to locate the filter used by the board use the documentation link below
https://www.atlassian.com/agile/tutorials/creating-your-agile-board
Hope this helps!
Thank you for the information. With the help of this informations, i was able to understand how it works with the boards and projects and so on. There were already some labels and queries in place which i could use to get the data i wanted. Nice. Thanks :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Your rest call should be like this:
https://company.net/rest/agile/latest/board/BoardNumber/issue?jql=status%20in%20(open)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.