get projects via Jira Restapi by boardId in next-gen

morteza najafian September 30, 2022

Hello Dears

In Jira Software RestAPIs, why do we have (GET /rest/agile/1.0/board/{boardId}/project), since, in the next-gen, each project has one board?

 

And the next one is if I want to get all software development projects for an account, must I first get all boards (GET /rest/agile/1.0/board), then for each board get related projects?

 

1 answer

1 accepted

3 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2022

Hello @morteza najafian 

Welcome to the community.

The REST API does not apply only to the next-gen (Team Managed) projects. Company Managed projects can have multiple boards, and the API can be used for those projects also.

There are newer versions of the API you should review. Here is the link for V3

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-projectidorkey-get

I don't see a way to get a list of projects based on the project type, but I may be missing it.

morteza najafian September 30, 2022

Thanks a lot, @Trudy Claspill, for your appreciative answer.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events