Book Image

Automate Everyday Tasks in Jira

By : Gareth Cantrell
Book Image

Automate Everyday Tasks in Jira

By: Gareth Cantrell

Overview of this book

Atlassian Jira makes it easier to track the progress of your projects, but it can lead to repetitive and time-consuming tasks for teams. No-code automation will enable you to increase productivity by automating these tasks. Automate Everyday Tasks in Jira provides a hands-on approach to implementation and associated methodologies that will have you up and running and productive in no time. You will start by learning how automation in Jira works, along with discovering best practices for writing automation rules. Then you’ll be introduced to the building blocks of automation, including triggers, conditions, and actions, before moving on to advanced rule-related techniques. After you’ve become familiar with the techniques, you’ll find out how to integrate with external tools, such as GitHub, Slack, and Microsoft Teams, all without writing a single line of code. Toward the end, you’ll also be able to employ advanced rules to create custom notifications and integrate with external systems. By the end of this Jira book, you’ll have gained a thorough understanding of automation rules and learned how to use them to automate everyday tasks in Jira without using any code.
Table of Contents (16 chapters)
1
Section 1: Getting Started – the Basics
4
Section 2: Beyond the Basics
8
Section 3: Advanced Use Cases with Automation

Introducing advanced automations with ScriptRunner

ScriptRunner for Jira allows you to extend the functionality of both Jira Cloud and Jira Server or Jira Data Center using scripts written in the Groovy language.

The ability to use the Groovy language in your automations gives you access to the underlying Java platform and the Jira API, as well as providing the full power of the scripting language itself.

As we'll see, in the case of Jira Cloud, access to the Jira API is limited to the interaction with the REST API provided by Jira. In Jira Server, however, your scripts gain access to the entire API that Jira exposes to developers.

We'll begin this section with a quick introduction to the Groovy language, which underpins ScriptRunner, followed by an overview of the ScriptRunner for Jira app.

Introducing Groovy

Groovy, or Apache Groovy to give it its full name, is a programming language built on the Java platform. It is both a static language, in that it can...