User Guide¶
Note
After following the Installation Guide instructions, you can use
the jiav command.
General Usage¶
To view the help message, run the following command (applicable for subcommands as well):
jiav --help
To view the tools version and installed backends, run the following command:
jiav --version
Exit Codes¶
Exit Code |
Description |
|---|---|
|
Successful. |
|
Issues connecting to Jira. |
|
Issues authenticating with Jira. |
|
JQL returned an error. |
|
No issues returned. |
|
Invalided manifest (when executing |
|
No issues were verified. |
Subcommands¶
validate-manifest¶
Validate manifest locally.
Options |
Environment Variable |
Help |
|---|---|---|
|
|
Path to local file to validate. [required] |
|
Show this message and exit. |
Examlpe:
jiav validate-manifest --from-file /path/to/manifest.yaml
verify¶
Verifies issues in Jira.
Options |
Environment Variable |
Help |
|---|---|---|
|
|
Jira URL. [required] |
|
|
Personal Access Token (PAT) for self-hosted instances or an API token for cloud instances. [required] |
|
|
Cloud Jira username NOTE: Not required for self-hosted instances. |
|
|
Issue to verify. NOTE: This argument is mutually exclusive with arguments: [query]. |
|
|
JQL query. NOTE: This argument is mutually exclusive with arguments: [issue]. |
|
|
Uploads attachment of execution, this is not safe since all users who can access the ticket will be able to view it; refer to https://jira.atlassian.com/browse/JRASERVER-3893 |
|
|
Allows to read manifest from non-private comments; this is potentially dangerous since unexpected users will be able to provide a manifest. |
|
|
Do not post a comment on failed manifest execution. |
|
|
Execute manifest without updating issues. |
|
|
Enable debug logging. |
|
|
Output format. (table|json|yaml) |
|
Show this message and exit. |
Examlpe:
jiav verify --jira "http://example.com/jira" -a "<ACCESS_TOKEN>" -i 'EXAMPLE-1' --allow-public-comments --upload-attachment