Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Project specific board deatils in jira using Rest API

Hello All,

I am new to jira, I have used below URI to fetch all projects from Jira

https://hostname/rest/api/2/project

That is working as expected but I need to fetch all board which are in specific project but I did not found any reference to fetch the specific project boards.

When I use below uri

https://hostname/rest/agile/1.0/board

It shows all boards which I am able to view in jira which does not helpful for me.

Kindly share uri or references which can be helpful for me to find out board included in specific project.

Thank you

Pallavi

 

 

 

 

 

1 answer

1 vote

A project does not belong to a board, nor vice-versa, but it is the board that tells us "I am related to this project", and it does it by looking at what issues the board is selecting for.  Quite simply, if a board could draw in an issue from project X, then there is a relationship between that board and the project.  A lot of boards will go with the default of having a board filter of "Project = XYZ" but a lot are more complex than that - you can't say a board that says "Project in XYZ, ABC" or "Issue type = risk" could ever belong to a project - by their very definition, they are related to many projects.

So, there's no way to ask "what boards are in this project" because the boards do not belong to projects, and so the REST API has no call to ask that question.

The only way you could answer that question over REST is to get every board, then look at their underlying board filter, and read each one to see if it includes your project.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you