Can I get the maximum of users until the license runs out via API or SQL? I would like to use this together with the stat of number of users I currently have to easily monitor when we're going to run out of licenses.
Use GET https://bitbucket.acme.com/rest/api/1.0/admin/license
{ "creationDate": 1464703200000, "purchaseDate": 1464184800000, "expiryDate": 1495720800000, "numberOfDaysBeforeExpiry": 121, "maintenanceExpiryDate": 1495720800000, "numberOfDaysBeforeMaintenanceExpiry": 121, "gracePeriodEndDate": 1495720800000, "numberOfDaysBeforeGracePeriodExpiry": 121, "maximumNumberOfUsers": 1000, "unlimitedNumberOfUsers": false, "serverId": "XXXX-XXXX-XXXX-XXXX", "supportEntitlementNumber": "SEN-1234567", "license": "***", "status": { "currentNumberOfUsers": 859, "serverId": "XXXX-XXXX-XXXX-XXXX" } }
Works perfectly! Thank you!
Do you know if a similar API is available for Jira, confluence or bamboo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, no, we used only Bitbucket Server and we used this REST to monitor License limit, cos if Bitbucket exceeded license limit it momentally block all work in our company.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I am new to Bitbucket and looking for similar solution.
could anyone please tell me how to run above API script? where to run those script?
I guess this is to run via our RSST API browser, what should be the value for parameter and value option?
is that script is to filter out the inactive users in Bitbucket.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Bitbucket what is the difference between the "Size" returned from rest/api/1.0/users API and the current number of users in api/1.0/admin/license , I need to find the number of licensed users , which is the correct API i should use ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jesper Eneberg
To get the "maximum number of users" of the current license for JIRA, you can use the following KB article to query a plugin which would have the same maximum user license as JIRA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please, take a look at:
I hope be useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want too see the MAXIMUM number of active users that I can have with the current license. The KB you linked queries the number of active users that I currently have,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.