Monitoring License Consumption
Our app provides no built-in functionality yet that allows you to pull reports about how many licenses are available over a period of time. Please find below some REST endpoints that provide that kind of information, so that you can write your own script that fetches the data.
Jira
Either fetch data with a GET request for all applications (1) or for a single application (2-4)
- https://your-jira.com/rest/api/2/applicationrole
- https://your-jira.com/rest/api/2/applicationrole/jira-core
- https://your-jira.com/rest/api/2/applicationrole/jira-software
- https://your-jira.com/rest/api/2/applicationrole/jira-servicedesk
The reply looks like this and contains a field remainingSeats that reflects the number of available licenses at the time.
- {
- "key": "jira-core",
- "groups": [
- "jira-administrators",
- "jira-core-users"
- ],
- "name": "Jira Core",
- "defaultGroups": [
- "jira-core-users"
- ],
- "selectedByDefault": true,
- "defined": true,
- "numberOfSeats": 500,
- "remainingSeats": 210,
- "userCount": 0,
- "userCountDescription": "users",
- "hasUnlimitedSeats": true,
- "platform": true
- }
Confluence
Fetch data with the following GET request
- https://your-confluence.com/rest/license/1.0/license/remainingSeats
The reply looks like this and provides the available licenses at the time:
- {
- "count": 48
- }