can you please tell that how to get api for all board names details in one project?
i cannot able to find that api for all board name in a single project
Hi,
I see that you are looking to find the names of all the boards that exist in Jira. Boards though are not always bound to a specific project. Only when using Jira Core boards, or a next-gen project will there only be a single board for that project.
Whereas in any classic Jira Software project, there can be multiple boards for a project like this. These projects are using agile boards (either Kanban or Scrum).
The easiest way to obtain this information on a per project basis would be to call the endpoint GET /rest/agile/1.0/board and then pass it a query parameter of projectKeyOrId=ABC. Where ABC is the project key in question. I tested this out to make sure it works in both Jira Software Cloud and Jira Software Server and it does. My REST call using curl looked like this:
curl -D- -X GET \-H "Authorization: Basic [redacted]" \ -H "Content-Type: application/json" \"https://[CloudURL].atlassian.net/rest/agile/1.0/board?projectKeyOrId=ABC"
This will return in json a listing of all the boards that project has, where "name" designates the name of each board there.
I hope this helps.
Andy
The filter based on Project KeyorId did not work. The API response contains all the Boards, irrespective of the project it is associated with.
Is there a way we can list this details with associated project?
It looks like you're new here. Sign in or register to get started.