October 11-13, 2022

GitKon 2022

Git Integration for Jira Cloud Documentation

Git Integration + Jira Automation

JIRA CLOUD – AVAILABLE
JIRA SERVER / DC – COMING SOON

Jira automation allows teams and groups to control processes and workflows using a rule to automate actions within Jira based on criteria.

Automation rules have 3 parts:

  • Triggers – Listens for events and starts the execution of a rule when a set condition is met.

  • Conditions – Set the scope of a rule with specific events tailored for your team.

  • Actions – Set automated tasks to perform when a condition is met.

Permissions

Any user with Browser Project permissions can create a rule.

Git Integration for Jira app supported triggers

We currently support the following triggers:

  • Branch created

  • Commit created

  • Pull request created

  • Pull request merged

  • Pull request declined

And thus, we will support all of these triggers in the coming releases.

Right click here to open this video in a new tab/window for more viewing options.

How to set up automation templates

Create a rule to configure triggers and actions for automating tasks. There are two levels:

Project level (projects)

  1. Open a project to work on, then go to Project settings.

  2. On the sidebar, click Automation.

  3. Click the Rules tab.

  4. Click Create rule to create a new automation rule.

  5. Configure triggers, conditions and actions for this rule:

    1. TRIGGER – This rule will trigger when a pull request is created.

    2. CONDITION – When the status of the Jira issue is IN PROGRESS, it will perform the actions below.

    3. ACTIONS – If the condition(s) are met, the rule will fire up the actions, assign the issue to a specific user and transitions the Jira issue to IN REVIEW.

  6. Enter a descriptive name for this rule in the provided box.

  7. Click Turn it on to publish and activate it. The new rule is added to the automation list.

Global administration level (system)

  1. On your Jira dashboard, go to menu Jira SettingsSystem.

  2. On the left sidebar, scroll to the bottom (Automation) and click Automation rules.

  3. Click the Rules tab.

  4. Click Create rule to create a new automation rule.

  5. Configure triggers, conditions and actions for this rule:

    1. TRIGGER – This rule will trigger when a pull request is created.

    2. CONDITION – When the status of the Jira issue is IN PROGRESS, it will perform the actions below.

    3. ACTIONS – If the condition(s) are met, the rule will fire up the actions, assign the issue to a specific user and transitions the Jira issue to IN REVIEW.

  6. Enter a descriptive name for this rule in the provided box.

  7. Click Turn it on to publish and activate it. The new rule is added to the automation list.

Known issue

(info) The limitation of Git Integration for Jira (GIJ) app not working with Automation for Jira (A4J) Lite is not a GIJ limitation but an Atlassian limitation.

Advanced Examples

For advanced examples, see sub-page Automation Advanced Examples.

Have feedback about this article? Did we miss something? Let us know!
On this page