Some of the most common uses of automation for Jira are:
- Making changes based on issue workflow transitions
- Automatically assigning tasks to specific team members based on the content of an issue
- Sending periodic status updates
- Automatically creating issues for recurring tasks
Project VS Global automation rules
It is important to note that while the automation functionality comes with all Jira plans, the ability to add global or multi-project automation features is reserved for Premium and Enterprise plan users.
Project-specific automation means that if you have a need to set up the same rules across multiple projects – you’ll need to set them up individually whereas you can set them up once and apply them across multiple projects with global permissions.
Users and permissions
Not every Jira user can create or edit automation rules. You will need to be a Jira admin or a Project Admin in order to access this functionality.
You can access automation by clicking on the settings button??>System>Global automation.
Automation rules
Automations in Jira are called rules. You can create automation rules using 4 components:
- Trigger: When a user performs a trigger action the automation rule will run
- Condition: This element ensures that the automation is triggered if all of the conditions are met
- New branch: This element creates a branch that allows to set up separate conditions for certain elements like subtasks of a parent issue
- New action: This element defines what the system will do when the user triggers a rule and all of the conditions are met
Don’t worry if this seems too complicated or overly complex – all Jira best practices look hard at first. Luckily, creating rules is only intimidating on paper and gets much easier with practice. Speaking of the devil – let’s do just that and create a custom automation rule.
Let’s say we want to send out an email to pending approvers when someone leaves a comment with an attachment in the issue.
Let’s start by adding a trigger.
- Start by creating a new rule and you will be prompted to add the trigger. Type in the thing you’d like to add as a trigger into the search bar. In our case, we want the rule to start when someone comments on an issue.