Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JIRA 6.x Administration Cookbook

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

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher Packt
ISBN-13 9781782176862
Length 260 pages
Edition 1st Edition
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 (11) Chapters Close

Preface 1. JIRA Server Administration FREE CHAPTER 2. Fields and Screens 3. JIRA Workflows 4. User Management 5. JIRA Security 6. E-mails and Notifications 7. Integrating with JIRA 8. JIRA Administration 9. JIRA Customizations Index

Running scripts in JIRA

JIRA provides an API for people with programming skills to create add-ons to extend its features, or to perform tasks that would otherwise be impossible or tedious. However, even with that, it is sometimes overkill to create a full-blown add-on for what may seem like a simple task. The good news is there is an option for you to write or program scripts which can take advantage of what the API offers, while not having the burden of a full add-on development.

In this recipe, we will create a Groovy script that will share a number of search filters by adding them as favorites for everyone in JIRA—a task that would otherwise take a lot of time if done manually.

Getting ready

For this recipe, we need to have the Script Runner add-on installed. You can download it from the following link and install it with the UPM:

https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner

How to do it…

Perform the following steps to run a custom Groovy...

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 €18.99/month. Cancel anytime