Preview: This section describes a preview feature. Preview features are deemed stable; however, they remain under active development and may be subject to shorter deprecation windows. Preview features are suitable for early adopters in production environments. We release preview features so partners and developers can study, test, and integrate them prior to General Availability (GA).
All requests to the Capacity Planning REST API must be authenticated. The API supports the following authentication methods.
Use a personal API token for scripts, automation, and quick integrations. Pass your Atlassian account email and API token using HTTP Basic authentication:
1 2curl --request GET \ --url "https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/contributions?contributorDataId={contributorAri}&workDataId={workAri}" \ --user "your-email@example.com:{API_TOKEN}" \ --header "Accept: application/json"
The request acts as your user — the same permissions apply as when you are logged in to the Atlassian site.
Service account
API tokens are scoped tokens created for automated, service-to-service
integrations. Pass the token as a Bearer token in the Authorization header:
1 2curl --request GET \ --url "https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/contributions?contributorDataId={contributorAri}&workDataId={workAri}" \ --header "Authorization: Bearer {SERVICE_ACCOUNT_API_TOKEN}" \ --header "Accept: application/json"
When creating a service account API token, select the scopes your integration needs. See Authorization for the full list of available scopes.
OAuth 2.0 with granular
scopes will be
available for apps to access the Capacity Planning REST API. Pass the
OAuth access token as a Bearer token in the Authorization header:
1 2curl --request GET \ --url "https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/contributions?contributorDataId={contributorAri}&workId={workAri}" \ --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN}" \ --header "Accept: application/json"
Coming soon: OAuth scopes for Capacity Planning are not yet available in the Developer Console. Use API token authentication in the meantime.
All API URLs include your site's cloudId. To find it:
https://{your-site}.atlassian.net/_edge/tenant_infocloudId value from the JSON responseUse this value in the URL path:
1 2https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/...
The API is tenant-scoped — every request operates within a single Atlassian
site identified by the cloudId in the URL path. You cannot access data
across sites in a single request.
Rate this page: