Skip to end of banner
Go to start of banner

Installation and Use

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Installation

  • Download the distribution of your choice (atlassian-cli or jira-cli) from Downloads
  • Unzip the distribution package and put the enclosed directory in a convenient location
  • Ensure Remote API is enabled in your JIRA installation
    • You need to be an administrator
    • Go to General Administration under Remote API
    • Setting should be YES
  • It is recommended that you open the jira.bat or jira.sh file with an editor and customize it for your environment by adding server, user, and password parameters. Follow the example in the comments and make sure you do not remove the %* at the end of the line.

Usage

  • On a command line, cd to the directory where you installed the client
  • On Windows
    • Run jira
  • On Linux, Mac, or Unix
    • Run ./jira.sh
  • On any system supporting Java
    • Run java -jar lib/jira-cli-3.x.x.jar
  • This will show help text for the command line interface client
  • The client defaults to use a user of automation. Either add this user with all the authorities required to do the actions you want or specify a different user parameter

Test

jira --action getServerInfo
 
JIRA version: 6.0.8, build: 6109, time: 2014-05-21T08:33:50.678-0500, time zone: Central Standard Time, description: JIRA 6.0.8, url: http://example.com
  • No labels