Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JIRA 7 Administration Cookbook

You're reading from   JIRA 7 Administration Cookbook Over 80 hands-on recipes to help you efficiently administer, customize, and extend your JIRA 7 implementation

Arrow left icon
Product type Paperback
Published in May 2016
Publisher
ISBN-13 9781785888441
Length 264 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Patrick Li Patrick Li
Author Profile Icon Patrick Li
Patrick Li
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. JIRA Server Administration 2. Customizing JIRA for Your Projects FREE CHAPTER 3. JIRA Workflows 4. User Management 5. JIRA Security 6. E-mails and Notifications 7. Integrations with JIRA 8. JIRA Troubleshooting 9. JIRA Service Desk

Working with JIRA from the command line


We normally interact with JIRA via the browser. Sometimes, it is useful to be able to use the command line, especially for administrative tasks or writing shell scripts.

In this recipe, we will use the command line to create new users in JIRA.

Getting ready

For this recipe, you need to have the Atlassian Command Line Interface (CLI) tool available on your workstation. You can download it from the following link:

How to do it...

To use the Atlassian CLI tool, we first need to enable the Remote API from JIRA:

  1. Navigate to Administration | System | General configuration.

  2. Click on the Edit Settings button.

  3. Turn on the Accept Remote API call settings.

  4. Click on Update to apply the change.

    You then need to install the Atlassian CLI tool by unzipping it to a convenient location on your workstation. Next, update the jira.sh (for UNIX) or jira.bat (for Windows) file to add in JIRA's details.

    For example, as shown in the following command, JIRA is running on http://localhost...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image