Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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,


Hi @Daniel Eads 

Apps cannot access this REST resource.

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



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?

Daniel | Atlassian Support

Was this question ever answered? 

I need to find a method to automate the monitoring of our licenses for our enterprise. Has any progress been made on this front?

@Scott R  Below is the Powershell script I use to get the user count 

(Plug in your username and api key in line 1 and your Jira URI in line 4 .  Rest Remains the same )


$user    = [System.Text.Encoding]::UTF8.GetBytes(“yourusername:apikey”)

$headers = @{Authorization = "Basic " + [System.Convert]::ToBase64String($user)}

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$result = Invoke-RestMethod -Uri "" -Method GET -Headers $headers -ContentType "application/json"


Suggest an answer

Log in or Sign up to answer

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