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

how to get api for all project and their board location details?

can you please tell that how to get api for all project and their board location details?

2 answers

1 accepted

0 votes
Answer accepted
Andy Heinzer Atlassian Team Jun 18, 2020

Hi everyone,

Since the original answer was posted to this question Atlassian Cloud has deprecated the specific endpoint of GET /rest/api/2/project.   As such there is another endpoint you can use now to get back your projects via REST in Jira Cloud.

For Jira Cloud:

 

For Jira Server:

  • Projects: You can make a REST API call to the endpoint GET /rest/api/2/project.  In Jira Server this endpoint will return to you all the projects which are visible to the user making that REST call.
  • Boards: You can use the endpoint GET /rest/agile/1.0/board  to find all boards that your user account has access to see.

I hope this helps to clarify how you can do this in both platforms via the REST API.

Cheers,

Andy

Hi Andy

I am battling to get ALL the boards in that response, I can't quite figure out the parameters. Not being a developer, the API docs are just over my head; any guidance you have would be appreciated.

Andy Heinzer Atlassian Team Jan 27, 2021

Hi Timothy,

We have a few different guides to help get you started.  If you're using Jira Server or Data Center, then I'd recommend trying JIRA Developer Documentation: JIRA REST API Version 2 Tutorial 

If you're using Jira Cloud, then it might be better to start with Basic auth for REST APIs.  This document explains one of the easiest ways to get REST API data in our Cloud platform.  There is a blog post about how to make a REST call in Jira Cloud over in https://blog.developer.atlassian.com/creating-a-jira-cloud-issue-in-a-single-rest-call/ however I believe that the authentication in that blog is already out of date.  You would need to follow the steps in the Basic auth guide linked instead to make this work.

While you could use lots of different programs in order to make REST API calls, one of the most popular methods is to use curl, a command-line application.  I'd suggest using it, regardless of whether you are working with Jira Cloud or Jira Server.

Andy

0 votes
Pedro Souza Atlassian Team Apr 23, 2018

Hi there,

 

Nice to meet you in our community! Welcome!

Our documentation below can provide you all the additional details you need regarding Jira Software REST API:

For the specific API's that you asked, I believe you can find more details below:

 Also, if you are new to our REST API, I strongly recommend you to check our tutorials below:

Please, let me know if you have any follow up questions!

 

Kind regards,

Pedro Souza.

@Pedro Souza : Are the below two api's getting board details not available in v2 API? I see , they are only availabe in 1.0.

Thanks, 

Syed

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