How to determine the maximum available licenses?
How to determine the maximum available licenses of the individual license types via the command line (example using a batch file)?
Attention / hint: We don´t use floating licenses!
To determine the current licenses we use the command "repotools-jts -exportUsers tofile=my_userlist.csv ..."
Currently we use the jts/CLM version 6.0.3 iFix002
Accepted answer
I am not aware of a commandline utility, but you can write a small program that logs on with a jazzadmin user and does a GET request on below URL and parse the JSON response
https://hostname:9443/jts/service/com.ibm.team.repository.service.internal.ILicenseAdminRestService/licenseInfo