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
Automate Everyday Tasks in Jira
Automate Everyday Tasks in Jira

Automate Everyday Tasks in Jira: A practical, no-code approach for Jira admins and power users to automate everyday processes

eBook
€17.99 €25.99
Paperback
€31.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Automate Everyday Tasks in Jira

Chapter 1: Key Concepts of Automation

Atlassian Jira is a popular workflow management system that allows teams to track their work in various scenarios, the most common of these being software projects, followed closely by service desks. Over time, most teams come to realize that there are many repetitive and time-consuming tasks that need to be performed to ensure project tasks and requests are tracked accurately and in a timely manner.

Since Atlassian recently acquired Automation for Jira and incorporated it as a native feature in Jira Cloud, it is now even easier to create complex and powerful automation rules using an intuitive if-this-then-that approach without having to write any code. Automation for Jira is still available as an add-on app for Jira Server and Jira Data Center and we'll cover both use cases where they diverge in this book.

If, like me, you find yourself saying I'm sure there is a way we can automate this somehow when confronted with yet another monotonous and time-consuming task in Jira, then you've picked up the right book.

In this chapter, we are going to cover the following main topics:

  • Getting started with rules
  • Working with triggers
  • Working with conditions
  • Working with actions
  • Creating your first rule

By the end of this chapter, you will have a good understanding of the key concepts of automation rules in Jira and how the various components of rules work together to enable you to write rules that will help you to automate any repetitive and other time-consuming tasks in Jira so that you can focus on what really matters: getting things done!

Technical requirements

The requirements for this chapter are as follows:

  • Jira Cloud environment: If you don't already have access to Jira, you can create a free Jira Cloud account at https://www.atlassian.com/software/jira/free and ensure that you have both Jira Software and Jira Service Management selected; or
  • Jira Server environment: If you are using Jira Server (available from https://www.atlassian.com/software/jira/download), ensure that you have licenses for both Jira Software and Jira Service Management. In addition, you will also need to ensure that you install the Automation for Jira app available from the Atlassian Marketplace.

In both instances, you will need to have at least Project Administrator access to a Jira project.

You can download the latest code samples for this chapter from this book's official GitHub repository at https://github.com/PacktPublishing/Automate-Everyday-Tasks-in-Jira.

The Code in Action videos for this chapter are available at https://bit.ly/38POLVA

Getting started with rules

To understand automations, we need to first take a look at some of the basic concepts associated with them, the foremost of which is the rule.

In this section, we will examine the following concepts:

  • The definition of a rule
  • Rule scopes
  • Owners and actors
  • Audit log

These will give us a foundation on which to build in the following chapters, so without further ado, let's get started.

What is a rule?

A rule, in its basic form, is a list of steps required to be executed in a specific order to achieve a desired outcome that is both repeatable and auditable.

By this, we mean that a rule should have the exact same outcome each and every time it is executed, and we should be able to examine the actions applied by the rule chronologically.

Specifically, a rule in Jira allows you to perform actions against issues based on criteria that you set.

Every rule is comprised of three basic components:

  • Triggers: The entry point for a rule.
  • Conditions: These refine the criteria of the rule.
  • Actions: These perform the actual tasks.

In addition to these, a rule also contains some other basic information:

  • The rule name
  • The rule description
  • The rule scope
  • The rule owner and actor
  • Options to notify the rule owner in the case of rule failures
  • Options to allow other rules to trigger this rule
  • The rule audit log

Together, these form the building blocks of automation rules. By combining these basic components, you are able to create rules that can be used to automate many time-consuming and repetitive tasks.

The following screenshot shows an outline of the basic components of a rule in Jira:

Figure 1.1 – Visualizing the basic components of a rule

Figure 1.1 – Visualizing the basic components of a rule

We will cover each of these components in more detail in this and the following chapter.

Understanding scopes

Rules in Jira have can be applied in one of four scopes:

  • Global rules
  • Multi-project rules
  • Project type-specific rules
  • Project-specific rules

The following table shows how these rule scopes are defined and which Jira permission is required in order to create and manage a rule that is applied in that scope:

Figure 1.2 – Rule scope permissions


Figure 1.2 – Rule scope permissions

As we can see, most of the rule scopes require you to have Jira Global admin permissions in order to manage them, and this is expected, as these rules span multiple projects and cannot therefore rely on project-specific permissions.

Project rules, on the other hand, can be created and managed by project administrators in addition to Jira global administrators.

Having this distinction allows Jira administrators to delegate the project-specific automations and gives project administrators more flexibility in managing their own project rules, whilst Jira Global admins can focus on automation rules that can be applied across a much wider audience.

Rules can also be moved between the global and project scopes by Jira administrators. If, for example, it is determined that a project-specific rule could be reused across multiple projects, a Jira administrator can adjust the scope of the rule. The reverse is also true. If a particular global rule is only ever utilized by a single project, a Jira administrator can adjust the scope to that specific project and by doing so, transfer administration of the rule to the project administrators.

Owners and actors

Every rule requires both an owner and an actor.

The owner of the rule is generally the user who created the rule and is responsible for maintaining the rule. The rule owner will also receive email notifications from Jira if the rule fails while executing.

The rule actor is the user the rule will execute as. This user must have the correct permissions in the project for both the trigger and any actions the rule will perform. For example, if you create a rule that needs to add a comment to an issue, the rule actor will need to have the Add Comments permission in the project.

Important note

In Jira Cloud, the default rule actor is always the Automation app user and will belong to the atlassian-addons-project-access project role. This project role is assigned every permission in a project and can be changed in the Project settings | Permissions section. Removing permissions from this role could potentially cause add-ons not to work correctly, so it is generally advised not to change these permissions.

Audit log

Every rule has its own audit log, which tracks the execution of a rule chronologically and allows you to examine the outcome as well as the actions applied to the affected items for each execution.

This functionality is not only necessary to be able to track the outcomes of a rule execution; it also gives us the ability to be able to debug rules when things don't go as planned.

We will examine the role of the audit log in debugging rules in more detail in Chapter 10, Troubleshooting Tips and Techniques, when we will explore techniques for debugging rules and solving common issues.

Working with triggers

The starting point for every rule is a trigger. A trigger defines how the rule will activate and will generally listen for events in Jira, such as when an issue is created or when values in fields within an issue change.

In this section, we will begin by looking at Jira events as this will help you to understand when and why rules are triggered, after which we'll explore the available rule triggers, what each of them are, and how they can be used.

Understanding Jira events

To better understand how triggers work, it is worth taking a brief look at how events in Jira work as these are the driving force behind most of the triggers available in the automation rules.

Jira, like many applications, incorporates an event-driven architecture. In essence, this means that every time an action is performed within Jira, an event is fired that allows interested components to listen to and perform additional actions based on those events.

There are two main types of events that affect issues in Jira. The first of these are workflow events. These events are fired when an issue is created and any time an issue is transitioned to a new status in its underlying workflow, and are responsible for causing the Issue created and Issue transitioned triggers in an automation rule to fire.

The second type of event is issue events and these are responsible for the majority of the remainder of the issue triggers and are fired whenever a user (or app) makes a non-workflow-related change to an issue, such as updating a field or linking two issues together.

Rule triggers

Jira automation provides us with a number of triggers that we can use to kick off the execution of our rules.

These triggers are grouped into categories to make it easier to identify which type of trigger you will need when creating your rule, and these categories are as follows:

  • Issue triggers
  • DevOps triggers
  • Scheduled triggers
  • Integration triggers

We will take a look at each category in turn and the available triggers in each.

Issue triggers

As we mentioned in the Understanding Jira events section, the majority of triggers relate to events occurring on issues, such as when an issue is created or edited.

Most of the triggers are self-explanatory and single purpose. However, there are some that can be further configured to make the trigger more specific without needing to use additional conditions.

Let's take a look at the issue triggers available at the time of writing and what each one does:

  • Field value changed: This rule will run when the value of a field changes. You configure this trigger by selecting the fields you want to monitor or by using a regular expression that matches the field names you want to monitor. You can also optionally narrow which issue operations will trigger the rule.
  • Issue assigned: This rule will run when the assignee of the issue changes.
  • Issue commented: This rule will run every time a new comment is added to an issue. Note though that this does not include when comments are edited or deleted.
  • Issue created: This rule will execute every time an issue is created. This trigger listens for the issue-created event that is always fired as the first step in a workflow.
  • Issue deleted: This rule will run when an issue is deleted.
  • Issue link deleted: This rule will run when an issue is unlinked from another issue. You can optionally configure this trigger to only execute for specific link types.
  • Issue linked: This rule will execute when an issue is linked to another issue. Like the issue link deleted trigger, you can optionally configure which issue link type the trigger will execute for.
  • Issue moved: This rule will execute when an issue is moved from one project to another. You can optionally specify that the trigger only executes if an issue is moved from a specific project.
  • Issue transitioned: This rule will execute every time an issue transitions through the workflow from one status to another. You can optionally configure this trigger to listen for a specific transition or multiple transitions to or from a specific status.
  • Issue updated: This will trigger the rule when details on an issue are updated, except when changes are made by linking, assigning, or logging work on an issue.
  • SLA threshold breached: This rule will get triggered for issues in a Service Management project when the SLA threshold has breached or is about to breach. You can configure which SLA to monitor as well as the time before or after it has breached.
  • Work logged: This rule will run when a worklog is created, updated, or deleted.

There are a few specialized issue triggers worth taking note of and these are the following:

  • Manual trigger: This trigger is not dependent on any underlying events. Instead, triggers of this type are presented to the user in the Issue view and require the user to manually activate them.
  • Multiple issue events: This trigger allows you to listen to more than one event for an issue. For example, this is useful when you need to perform the same automation when a ticket is both created and updated, rather than having to create a separate rule for each event.
  • Sprint and Version triggers: These triggers are not directly associated with underlying issues, and instead they allow you to perform actions against the related issues when something happens to the containing Sprint or when the versions pertaining to a project are created or changed.
  • Service limit breached: This is a specialized trigger that allows you to monitor and manage your automation rules themselves.

DevOps triggers

DevOps triggers are specific to Jira Cloud and allow you to create rules that are linked to events in your connected development tools, such as Bitbucket and GitHub.

Let's take a quick look at these triggers and what they do:

  • Branch created: This rule will run when a branch in a connected source repository is created.
  • Build failed: This rule will be executed when a build in a connected build tool fails. You can optionally configure this to trigger on specific build names, branches, or tags.
  • Build status changed: This rule will be run when the build status in a connected build tool changes, for example, from failed to success, or vice versa. This can optionally also be configured to trigger on specific build names, branches, or tags.
  • Build successful: Similar to the previous triggers, this will cause the rule to execute when a build in a connected build tool is successful. This can also optionally be configured to listen for specific build names, branches, or tags.
  • Commit created: This rule will run when a commit is created in a connected source repository.
  • Deployment failed: This rule will execute when a deployment against a specified environment fails.
  • Deployment status changed: This rule will run when the deployment against a specified environment changes status from failed to success, or vice versa.
  • Deployment successful: This rule will run when the deployment against a specified environment is successful.
  • Pull request created: This rule will execute when a pull request in a connected source repository is created.
  • Pull request declined: This rule will execute when a pull request in a connected source repository is declined.
  • Pull request merged: This rule will execute when a pull request in a connected source repository is merged.

    Important note

    DevOps triggers are not available in Jira Server, although these triggers can be emulated using the Incoming webhook integration trigger.

We will explore these triggers in more detail in Chapter 8, Integrating with DevOps tools.

Scheduled triggers

Scheduled triggers allow you to configure rules that run at defined intervals. These can be simple fixed-rate intervals or more complex schedules.

Scheduled triggers are perfect for automating clean-up processes or to create recurring tasks that need to be actioned and we'll look at these in more detail in Chapter 2, Automating Jira Issues.

Integration triggers

The final type of trigger is the incoming webhook. This trigger provides a way for third-party applications to trigger automation rules.

An incoming webhook trigger can specify the exact issues to act on or even provide real-time data that you can use to update issues.

Chapter 5, Working with External Systems, is dedicated to exploring the ways in which we can integrate our automation rules with external systems.

Working with conditions

Once a rule has been triggered and in order for it to continue to run, it will need to meet the criteria that you have specified.

Conditions, therefore, narrow the scope of a rule and if a condition fails, the rule will stop running and no actions following that condition will be performed.

Automation provides a number of conditions that can be applied to a rule, most of which can be applied either in isolation or chained together to form more complex conditions.

The set of conditions available to automation rules is as follows:

  • Advanced compare condition: This condition allows us to compare two values using smart values, functions, and regular expressions. This condition gives more flexibility for when the Issue fields condition is not sufficient.
  • If/else block: This condition allows us to perform alternate actions depending on whether the conditions in each block match and you can have as many conditions as you need.
  • Issue attachments: This condition checks whether attachments exist for an issue.
  • Issue fields condition: This condition checks an issue field against a particular criterion that you can specify.
  • JQL condition: This condition allows you to check an issue against any valid JQL query.
  • Related issues condition: This condition allows you to check whether related issues exist for the triggered issue and whether they match a specific JQL query.
  • User condition: This condition allows you to compare a user to a set of criteria.

We will cover conditions in more detail in Chapter 2, Automating Jira Issues.

Working with actions

The final building block in the rule chain is actions. Actions are the components that allow you to make changes within your projects and can perform many tasks, including editing issues, sending notifications, creating tasks, and much more.

Like conditions, a rule chain can include multiple actions in the chain, allowing you to perform more than one task in a single rule; for example, editing an issue field followed immediately by sending a notification via email.

Rule actions are grouped in categories in order to make it easier to identify the type of action you want your rule to perform.

Let's take a look at the categories and then we'll examine the actions in each category:

  • Issue actions
  • Notifications
  • Jira Service Management
  • Software
  • Advanced

Issue actions

Actions in the Issue actions category allow you to make changes to existing issues as well as create new issues. Let's look at the available actions in this category, and what each of them do:

  • Assign issue: This action assigns the issue to a user. This can be to a specific user or by using a method such as balanced workload, round-robin, or randomly when using a list of users.
  • Clone issue: This action creates a new issue, in the same project or in a different project, copying across all possible fields. It is not a true clone and will therefore not copy across links, attachments, or comments.
  • Comment on issue: This action allows you to add a comment to the issue, optionally specifying the visibility in Service Management projects.
  • Create issue: This action creates a new issue in the project, or selected project for global rules, and allows you to select which fields to configure and their corresponding values.
  • Create sub-tasks: This action creates sub-tasks on the issue and sets the summary to the specified value. If you select to add additional fields, this action will be converted to a Create issue action with the issue type set to sub-task.
  • Delete comment: This action can only be used with triggers that involve adding a comment and can only be used to delete the comment that triggered the rule. It cannot be used to delete any other comment.
  • Delete issue: This action causes the current issue that is in context to be deleted.
  • Delete issue links: This action allows you to delete any issue links on an issue. You can specify certain types of links to delete or specific issues.
  • Edit issue: This action lets you edit the fields on the issue by choosing the fields and setting their corresponding values.
  • Link issues: Using this action will allow you to link an issue to another issue by selecting the link type and the issue to link.
  • Log work: This action allows you to log time worked against an issue using either actual dates and times, or by using smart value functions.
  • Manage watchers: Use this action to specify users to add or remove as watchers on the issue.
  • Transition issue: This action allows you to transition an issue from one status to another through the assigned workflow. You can additionally select fields and their associated values to be updated during the transition, providing these fields are present on the issue transition screen.

Notifications

Actions in this category allow you to send notifications via various channels as well as give you the ability to send data to other external systems. The actions in this category are as follows:

  • Send email: This action sends an email when the rule executes.
  • Send Microsoft Teams message: This action allows you to send a message to notify a team in Microsoft Teams when the rule is run.
  • Send Slack message: This action allows you to send a message to a Slack channel or specific Slack user when the rule is run.
  • Send Twilio notification: Use this action to send an SMS message using Twilio when the rule is executed.
  • Send web request: This action allows you to send a request to any third-party system that can accept web requests. You can also configure this action to accept response data from the external system that can be used in subsequent actions.

Jira Service Management

These actions allow you perform tasks specific to Service Management projects and are as follows:

  • Add Service project customer: This action allows you to add customers to your Service Management project.
  • Approve/Decline request: You can use this action to approve or decline a request in a Service Management project.
  • Create service request: This action allows you to create a service request in a Service Management project. It is similar in function to the Create issue action, but adds the ability to select the request type and customer.

Software

Software actions allow you to manipulate the software versions within a Software project and are limited to the following actions:

  • Create version: This action allows you to create new versions within the project. It will not create a version if one with the same name already exists.
  • Release version: This action releases the next unreleased version in the project using the version's release date. Alternatively, you can configure which unreleased version to release and optionally override the release date.
  • Unrelease version: This action allows you to unrelease a version.

Advanced

The final category is the advanced actions. These actions allow you to do things such as creating variables for use in later rule components, log information to the audit log, and more. Let's take a look at these now:

  • Create variable: This action allows you to create a smart variable for use in other actions and conditions within this rule, and is only available in Jira Cloud.
  • Delete attachments: This action allows you to delete attachments from an issue using regular expressions against the attachment filenames.
  • Log action: Use this action to log a message to the rule's audit log. This action is particularly useful in debugging rules.
  • Lookup issues: This action allows you to use JQL to search up to 100 other issues and include the results list in other actions in this rule.
  • Re-fetch issue data: This action refreshes the smart values with the latest issue data. This is especially useful in multi-action rules where subsequent actions rely on previously updated data.
  • Set entity property: You can use this action to set entity properties on issues, projects, and users. These are hidden key/value stores that are used by certain apps.

Creating your first rule

Now that we've covered the key concepts, let's take a look at creating your first automation rule.

Before we dive into the actual rule, we'll take a brief look at the rule editor user interface and its layout.

The rule editor

The following screenshot represents the automation rule editor. As you can see, it is presented in a structured format that makes working with rules straightforward and intuitive:

Figure 1.3 – The automation rule editor

Figure 1.3 – The automation rule editor

Let's take a look at the main components that we have numbered in the preceding screenshot:

  1. Rule-chain view: In this panel, you can see the name of the rule, along with the components that make up the rule, in the order in which they will be processed during execution. This is also where you can access the rule's main details and its bespoke audit log. You can also drag and drop components in this panel to reorder them.
  2. Components: You can add new components anywhere in the rule chain by clicking on the Add components link that appears when you move your mouse pointer between any existing components.
  3. Rule details view: The rule details view allows you to edit the main rule details, view the rule's audit log, and edit the component configurations as applicable.

Creating a rule to assign the highest priority to VIP users' issues

This brings us to our first automation rule. In many organizations, issues raised by VIP users such as managers or executives need to be assigned the highest priority so that they get the attention of the team members immediately.

As this is our first rule, we'll show you step by step, with associated screenshots, how to author an automation rule in Jira so you can see how the rule editor enables us to quickly create a rule intuitively.

Tip

The location of the automation rules configurations differs slightly between Jira Cloud and Jira Server.

In Jira Cloud projects, automation rules can be found under the Automation tab in Project Settings, whilst in Jira Server, they can be found under the Project automation tab.

For this rule, we are going to use a Service Management project. To follow along with this rule, you will need to have a user group defined, called VIP, to which the appropriate users are assigned.

Firstly, in your Service Management project, navigate to Project settings, click on the Automation tab, and then click the Create Rule button in the upper-right corner:

  1. After you've decided to create a new rule, the first thing you're presented with is the option to choose your trigger.

    For this rule, click on the Issue created trigger and then click Save, as shown in the following screenshot:

    Figure 1.4 – Selecting the Issue created trigger

    Figure 1.4 – Selecting the Issue created trigger

  2. Next we are going to add in a condition that checks whether the user who reported the issue is a member of the VIP user group.

    In the following screen, select New condition, followed by the JQL condition component:

    Figure 1.5 – Adding the JQL condition component

    Figure 1.5 – Adding the JQL condition component

  3. The JQL condition component requires further configuration in the form of a JQL query. In the component's configuration screen, enter the following JQL query, then click the Validate query link to ensure the query is valid, and finally, click the Save button:

    reporter in membersOf("VIP")

    Your rule should look similar to the following screenshot:

    Figure 1.6 – Configuring the JQL condition component

    Figure 1.6 – Configuring the JQL condition component

  4. Next, we need to insert the action to perform. In this case, we need to use the Edit issue action in order to set the Priority field to highest.

    Go ahead and click on New action, followed by Edit issue:

    Figure 1.7 – Selecting the Edit issue action

    Figure 1.7 – Selecting the Edit issue action

  5. Like the JQL condition component, the Edit issue component also requires further configuration and we now need to choose the fields we wish to update.

    You can set multiple fields in this action. However, for this rule, we are only going to set the Priority field. Start by typing the field name, and then click on the checkbox once you've narrowed your selection:

    Figure 1.8 – Selecting the Priority field

    Figure 1.8 – Selecting the Priority field

  6. Now that you've selected the Priority field, click out of the Choose fields to set option so that you can access the field values list where you will be presented with a dropdown of available options. Select the value Highest, and then click on Save:
    Figure 1.9 – Setting the value of the Priority field

    Figure 1.9 – Setting the value of the Priority field

  7. We have now configured our first rule. All that remains is to give our new rule a name, turn it on, and give it a description.

    In the following screen, set the rule name as follows and then click Turn it on to publish the rule:

    Set highest priority for VIPs

    The completed rule components should look similar to the following screenshot:

    Figure 1.10 – Giving the rule a name and turning it on

    Figure 1.10 – Giving the rule a name and turning it on

  8. Finally, let's give our rule a description and ensure we're happy with the general rule details. Click on Rule details in the Rule-chain view on the left, enter the following description, and then click Save:

    Ensure issues created by members of the VIP group are assigned the highest priority.

    Figure 1.11 – Adding a description to your rule

    Figure 1.11 – Adding a description to your rule

  9. You may have noticed that when you entered the description, the lozenge at the top of the Rule-chain view changed from Enabled to Draft.

    This alerts you to the fact that changes have been made to the rule, but not yet published. If you do not wish these changes to be published, either click on the Cancel button at the bottom of the Rule details panel or click the Return to list link in the top-right corner of the Details panel.

    For now, click on Publish changes:

Figure 1.12 – Publishing your rule changes

Figure 1.12 – Publishing your rule changes

Your rule will now appear in the rule list against your Service Management project and every time an issue is created by a user in the VIP user group, the priority will automatically update to Highest.

To test this rule, add yourself to the VIP group and create a new service request in your Service Management project. Make sure the priority is set to something other than Highest. Once you have created the issue, navigate to it and examine the activity in the History tab. You should see the priority change from what you selected to Highest, and the activity should be logged against the rule actor.

You have now learned how to create and publish an automation rule in Jira without writing any code.

Summary

In this chapter, you have learned about the key concepts of automation rules in Jira and the basic building blocks of rules, including triggers, conditions, and actions. We also covered rule types and the differences between rule owners and actors and finally, we saw how to combine all of these concepts into our first automation rule.

As you have learned in this chapter, we have a lot of powerful and flexible components at our disposal that will, in turn, help us to create powerful automation rules to automate everyday tasks in Jira without the need to write any code. In the following chapters, we will be exploring these components in more detail and with the help of practical examples that you can use to kick-start your own rules.

In the following chapter, we will learn how to use these components to work with issues in Jira. We'll explore all the conditions we introduced in this chapter, how to work with related issues, and how we can use some of the action components available to edit and transition issues before looking at how we can run rules on a scheduled basis.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Automate daily repetitive and tedious tasks without coding experience
  • Discover how to automate processes in the Jira family including Jira software, Jira Service Desk, and Jira Core
  • Explore different use cases to understand automation features in Jira

Description

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.

Who is this book for?

This book is for Jira administrators and project managers who want to learn about automation capabilities provided in Jira. Familiarity with Jira and working knowledge of workflows and project configurations is required.

What you will learn

  • Understand the basic concepts of automation such as triggers, conditions, and actions
  • Find out how to use if–then scenarios and conditions to automate your processes with practical examples
  • Use smart values to achieve complex and more powerful automation
  • Implement use cases in a practical way, including automation with Slack, Microsoft Teams, GitHub, and Bitbucket
  • Discover best practices for writing and maintaining automation rules
  • Explore techniques for debugging rules and solving common issues

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 22, 2021
Length: 314 pages
Edition : 1st
Language : English
ISBN-13 : 9781800564206
Vendor :
Atlassian
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jan 22, 2021
Length: 314 pages
Edition : 1st
Language : English
ISBN-13 : 9781800564206
Vendor :
Atlassian
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 98.97
Becoming an Agile Software Architect
€41.99
Automate Everyday Tasks in Jira
€31.99
Jira 8 Administration Cookbook
€24.99
Total 98.97 Stars icon
Banner background image

Table of Contents

15 Chapters
Section 1: Getting Started – the Basics Chevron down icon Chevron up icon
Chapter 1: Key Concepts of Automation Chevron down icon Chevron up icon
Chapter 2: Automating Jira Issues Chevron down icon Chevron up icon
Section 2: Beyond the Basics Chevron down icon Chevron up icon
Chapter 3: Enhancing Rules with Smart Values Chevron down icon Chevron up icon
Chapter 4: Sending Automated Notifications Chevron down icon Chevron up icon
Chapter 5: Working with External Systems Chevron down icon Chevron up icon
Section 3: Advanced Use Cases with Automation Chevron down icon Chevron up icon
Chapter 6: Automating Jira Service Management Chevron down icon Chevron up icon
Chapter 7: Automating Jira Software Projects Chevron down icon Chevron up icon
Chapter 8: Integrating with DevOps Tools Chevron down icon Chevron up icon
Chapter 9: Best Practices Chevron down icon Chevron up icon
Chapter 10: Troubleshooting Tips and Techniques Chevron down icon Chevron up icon
Chapter 11: Beyond Automation; an Introduction to Scripting Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(5 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Dashboard May 11, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book has helped me so much with my job as a technical Scrum Master, it is extremely detailed and has easy to follow steps for each automation. I’ll highly recommend this book to anyone in IT who needs to improve their JIRA technical skills.
Amazon Verified review Amazon
C Waddell Apr 28, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great resource for beginners and automation experts alike. The descriptions of triggers, actions, smart values, conditions make it easy to understand how to customize processes. The provided examples can easily be applied to any organization and highlights how powerful the tool is. This will be my go-to reference!
Amazon Verified review Amazon
B. D. Apr 20, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Likes:Gareth Cantrell has done an outstanding job in writing this book in simple and easy to use terms. This book will benefit any role within any organization regarding the automation of Jira work. The book starts out with an explanation of Jira Automation terminology and definitions and applies this to Jira Issue automation. Real world examples are given with code snippet downloads available. Later chapters do a great job covering Automated Notifications, External Systems, Software Projects and DEV OPS Tools. Our organization recently began using Jira Tools as part of our IT Digital Transformation. I currently work as our Portfolio Management Lead and Tool Owner/Admin. The timing of this book was perfect for us!Dislikes:There weren't too many dislikes which is why I gave the review an overall 5. I do wish there were more screenshots and illustrations showing some of the great explanations around how to Automate the work.Thanks, TomIT Portfolio Management Lead and Jira Admin
Amazon Verified review Amazon
Andrey Dekhtyar Jun 09, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A step-by-step, well-structured guide for new and aspiring Jira admins. From the relative if-then basics to complex DevOps integrations, the book guides through key Jira concepts and best practices backing all up with a variety of practical cases.Thorough, informative, and easy to grasp, happy to give it the highest rating and recommend it as an all-in-one reference book for everyone involved in Project Management.
Amazon Verified review Amazon
Ram Kollengode Apr 05, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As it claims in the preface this book indeed is a hands-on guide for power users and Jira administrators to automate daily, repetitive, and tedious tasks using a no-code approach with the Jira family, including JiraSoftware, Jira Service Management, and Jira Core.The range of topics covered go from basics to advanced technics and the book has over 300 pages of very relevant steps to learn how one can leverage the automation capabilities within Jira in simple and easy to understand style.Kudos to the team making this happen !!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.