Forums

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

What has to be done in order to use the api for retrieving license data?

Preston_Taukulis
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!
June 2, 2020

I am trying to retrieve license data via the atlassian rest api for the jira software I am using. The site that I am using to find said information is https://confluence.atlassian.com/jirakb/how-to-retrieve-application-license-details-or-set-the-license-via-private-rest-api-in-jira-7+-934728265.html

When I use the api detailed in the site: 

/rest/plugins/applications/1.0/installed/jira-software/license

I get a 404 error. Is there something that I need to setup in order to retrieve the data?

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
June 2, 2020

Hello Preston,

Welcome to the community.

The reference you found is only for JIRA Server. According to the settings on your post, you are using JIRA Cloud.

The API reference for JIRA Cloud can be found at

https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/

There does not appear to be an endpoint in the Cloud REST API for getting details about the license.

Preston_Taukulis
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!
June 4, 2020

Thank you, we will use it for the Jira Server instances instead.

Trudy Claspill
Community Champion
June 4, 2020

If you are, in fact, trying to use this against a JIRA Server (not Cloud) deployment, please show us the code you're executing.

If you are new to using the REST API I recommend that you review the documentation on how to use the REST API. The documentation also includes examples.

https://developer.atlassian.com/server/jira/platform/rest-apis/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events