HashiCorp Cloud Platform
meter jira
Note
You must have version 0.11.0 or higher of the Vault Radar CLI installed.
To check the current version of your CLI, use the version command.
The meter jira
provides information on number of contributors in your data source. Your account teams will use this information for license costs.
Authentication
meter jira
command uses the same authentication as the scan jira
command.
Keep in mind that the credentials must have access to all the projects that should be evaluated.
Usage
users
meter jira users
is going to provide a usage estimate based on the number of users detected while performing a scan of a Jira data source.
Command Options
--url, -u
: The url endpoint of the Jira instance to meter (required).--outfile, -o
: Specifies the file to store information about found users (required).--projects
: Specifies comma-separated list of project keys used to collect metering info. If not set, all projects are metered.
The days
parameter or both start-time
and end-time
are required.
--days, -d
: Specifies the number of days to evaluate for metering.--start-time
: Specifies the start date to evaluate metering. Setting--end-time
is also required. AcceptsYYYY-MM-DD
.--end-time
: Specifies the end date to evaluate metering. Setting--start-time
is also required. AcceptsYYYY-MM-DD
.
Meter Jira for the last 10 days
$ vault-radar meter jira users -u <INSTANCE URL> -o <PATH TO OUTPUT>.csv --days 10
Meter specific projects in Jira
$ vault-radar meter jira users -u <INSTANCE URL> -o <PATH TO OUTPUT>.csv --days 10 --project <PROJECT KEY 1>,<PROJECT KEY 2>
Meter Jira projects from some date until another date
$ vault-radar meter jira users -u <INSTANCE URL> -o <PATH TO OUTPUT>.csv --start-time <YYYY-MM-DD> --end-time <YYYY-MM-DD>