Book Image

Mastering JIRA

By : Ravi Sagar
Book Image

Mastering JIRA

By: Ravi Sagar

Overview of this book

<p>JIRA is an issue-tracking tool from Atlassian and has gained immense popularity in recent years due to its ease of use and, at the same time, its customization abilities and finely grained control over various functions. JIRA offers functionalities for creating tasks and assigning them to users and many useful add-ons can be added such as JIRA Agile for Agile tracking and Groovy scripts, a powerful tool for administering customizations for customizations.</p> <p>This book explains how to master the key functionalities of JIRA and its customizations and add-ons, and is packed with real-world examples and use cases. You will first learn how to plan JIRA installation. Next, you will be given a brief refresher of fundamental concepts and learn about customizations in detail. Next, this book will take you through add-on development to extend JIRA functionality. Finally, this book will explore best practices and troubleshooting, to help you find out what went wrong and how to fix it.</p>
Table of Contents (23 chapters)
Mastering JIRA
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Modifying the JIRA workflow with conditions, validators, and post functions


The best part of the Script Runner add-on is the additional features it brings in the JIRA workflow. Out of the box, there are various conditions, validators, and post functions that can be configured in the workflow, but it offers limited functionalities. Script Runner simply gives you more options that you can control in the workflow. Let's take a look at them.

Conditions

Script Runner brings a set of additional conditions that you can add in the workflow; it gives you an amazing control over a lot of things that was not possible earlier. Perform these steps:

  1. Modify the workflow of your choice. For any transition, navigate to Add Condition To Transition.

  2. You will find a new condition called Script Condition; select it and click on the Add button:

  3. On the next screen, you will get a list of scripts that you can add as a workflow condition:

Let's discuss these scripts.

All subtasks must be resolved

If you want all the subtasks...