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

Exploring scripting in Jira Server

Similar to ScriptRunner for Jira Cloud, ScriptRunner for Jira Server allows you to create automations in response to events within Jira.

Unlike in Jira Cloud, however, you are able to create automations against a much wider range of events in Jira Server due to the fact that you have access to the full Jira API.

In this section, we'll take a look at the API available to scripts on the Jira Server platform. We'll then take another look at the incident priority matrix example so that we can more easily understand the differences between scripting between the platforms.

Understanding the Jira Server API

In contrast to the Jira Cloud API, apps written using the Jira Server API run in the same Java process as the core Jira application and therefore have full access to the underlying application via the public Java-based API.

ScriptRunner for Jira Server is an app built using the Jira Plugins2 (P2) framework. This framework allows...