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

Way to get the license count by using Rest api

I wanted to see if there is a Way to get the license count by using Rest api. This is for JIRA Cloud instance . If yes , Can some one post the url which I can access to get the metrics . Thanks .

 

 

Note : I am using the below url but i am getting 404 error

 

https://<My url>/rest/plugins/applications/1.0/installed/jira-software

1 answer

0 votes
Daniel Eads Atlassian Team Aug 10, 2018

Hi Krishna,

Check out the applicationrole endpoint - here's the documentation for it.

The roles are sorted by application (Core, Software, Service Desk) and will return info about how many seats are available and how many are left:

    "numberOfSeats": 10,
    "remainingSeats": 5,
    "userCount": 5,

Cheers,
Daniel

Hi @Daniel Eads 

Apps cannot access this REST resource.

Is there another way to get programmatically this information from the app?

Thanks,

Jerry

Daniel Eads Atlassian Team Oct 01, 2019

Hey @Jerry Laster ,

You as a user of a particular Atlassian Cloud instance should be able to access the details from this endpoint still. In the last year since this question was raised, we have changed the Cloud APIs to use tokens for authorization instead of passwords.

Apps in this context refer to items you may install in your instance from Atlassian Marketplace. Scripts making API calls should be fine (provided they use an API token).

Does that help? Or are you developing a plugin that you plan to distribute on Marketplace that would need access to the license counts?

Thanks,
Daniel | Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

260 views 1 2
Join discussion

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