This article gives step by step instructions on how to install the Jira CLI app and execute CLI commands in Windows using the CLI client version 9.0 and above.
...
- You need to download the latest client version (above 9.0) from this pageversion. For example, you can click on the atlassian-cli-9.1.0-distribution.zip to download the latest client version v9.1.0. (at the time of writing).
- Once the file is downloaded, extract the files. For example, you can right-click on the downloaded file and click on Extract All... as shown in the below screenshot. Here, we have used the 7-Zip software.
- Go to the ACLI folder (Ex: atlassian-cli-9.1.0)
- Rename the acli-server file to acli as shown in the below screenshot.
Update the acli.properties file as per the below instructions:
Credentials of the instance where you want to execute the CLI actions. Here we have used automation/automation as credentials.
Code Block language actionscript3 theme Midnight credentials = --user automation --password automation
If you want to execute the CLI action for Jira, comment the myconfluence option or add the confluence details, if any.
Code Block language actionscript3 theme Midnight myjira = jira -s https://jira.examplegear.com ${credentials} #myconfluence = confluence -s https://confluence.examplegear.com ${credentials}
This defines the default client for actions, choose either Jira / Confluence based on where you want to execute CLI actions.
Code Block language actionscript3 theme Midnight default = ${myjira}
- Save file.
JIRA CLI Connector Installation:
- Log into Jira as an administrator and click > Add-ons → Find new apps and search for "Jira Command Line Interface". Upon receiving the results, click Free trial under the JIRA Command Line Interface (CLI).
- After installation, ensure that the license is updated in the License section.
- The CLI connector will be installed and you can view the app in the Manage apps page.
...
Info |
---|
|