Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This article is to give the step by step instructions on how to install the Jira CLI and execute CLI commands in windows with CLI client version below 9.1.0.

Instructions

CLI is a command-line interface to access Jira remotely. CLI has 2 components:

...

  1. You need to download the latest client version from this page. For example, you can click on the atlassian-cli-89.81.0-distribution.zip to  to download the client version v8v9.81.0.
  2. 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. 
    Image RemovedImage Added
  3. Go to the ACLI folder (Ex: atlassian-cli-89.81.0)
  4. Edit jira.bat fileRename the acli-server file to acli as shown in the below screenshot.
    Image Added
  5. You would need to update the file with the required parameters like server name, user name, and token. For example, the Jira CLI file looks something similar to this: 

    Code Block
    languagejava
    themeMidnight
     --server https://example.examplegear.com --user automation --password XXXXXXXXXX 


JIRA CLI Connector Installation:

  1. 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)
  2. Ensure the license is updated in the License section.
  3. The CLI connector will be installed and you can view the app in the Manage apps page.

...