Forums

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

can you please tell that how to get api for all board names details in one project?

Guest February 7, 2018

 

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

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2018

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

akanksha saksena
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 14, 2020

The filter based on Project KeyorId did not work. The API response contains all the Boards, irrespective of the project it is associated with.

fbabu November 30, 2020

Is there a way we can list this details with associated project?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events