The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Guest
April 15, 2018

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

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 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

Timothy Johnston
Contributor
January 27, 2021

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 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

Like Ramprasad Baliga likes this
0 votes
Pedro Souza
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 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.

abdul hafeez
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!
November 20, 2019

@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