Not able to access boards in a project with jira cloud

ArunRaghavendar.A December 1, 2021

With jira cloud migration, there is no documentation to access boards in a project - https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/

 

There is a reference here https://developer.atlassian.com/cloud/jira/software/rest/api-group-other-operations/#api-agile-1-0-board-get, but this work only with domain and not with https://api.atlassian.com and also does not support Oauth 2.0.

Also with jira cloud, are only /rest/api/v2 and /rest/api/v3 supported ? Do we have still access to /rest/agile/ and /rest/greenhopper paths?

Can you help?

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 2021

Hi @ArunRaghavendar.A 

I understand that you are migrating from a Jira Server to Jira Cloud site and have some concerns regarding the differences in REST API of Jira Software (Agile) endpoints. The first link you posted is specifically about the Jira platform REST API, these don't include Jira Software specific functionality such as boards, backlogs, agile reporting, etc.

In regards to the authentication for the Jira Software endpoints here the introduction of that parent document over in https://developer.atlassian.com/cloud/jira/software/rest/intro/#introduction does highlight some of the known limitations here:

Authentication for on-premises integrations

If you are integrating an on-premises app with the Jira REST APIs, API calls are authenticated via an OAuth token. To obtain a token, create a set of OAuth credentials with permissions for the APIs that app needs to access. Use the credentials to request a token by calling https://api.atlassian.com/oauth/token. See Integrating Jira Software Cloud with on-premises tools for details. Note that only the Development InformationBuilds, and Deployments APIs are currently available for on-premises integrations. To simplify development, we have a separate downloadable API spec.

As such, not all endpoints are available when using OAuth 1.0 here, only the development info, builds, and deployment APIs are.  You should still be able to access that get all boards endpoint using Basic auth or it would be accessible if you were building an app within the connect framework.

As for the versions of REST API version 3 of the Jira Cloud platform REST API is the latest version but is in beta. Version 2 and version 3 of the API offer the same collection of operations. However, version 3 provides support for the Atlassian Document Format (ADF).  You can read more on that over in https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/

As for these other endpoints, Jira Software Cloud can still make use of various endpoints, however some of these are private endpoints and are not publicly documented.  In turn only the publicly documented endpoints such as those listed in https://developer.atlassian.com/cloud/jira/software/rest/ are available for integrations to access.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer