How to get the licensed user count using Jira Command Line Interface (CLI)

This article explains how to get the licensed user count in Jira using Jira Command Line Interface (CLI).


Use the getServerInfo action to get the licensed users count with the outputFormat parameter. The Jira instance must have a CLI connector of version 9.3 to get the license user count result.

Run the CLI action as follows:

--action getServerInfo --outputFormat 2

Verify the value of Current licensed users from the output of the CLI action. As an example, the value of Current licensed users for various Jira products such as Jira Core - 0, Jira Service Desk - 3, and Jira Software - 15, as shown in the following screenshot:

  • The license information is available from Jira CLI version 9.3 and higher.