Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

4 ways to automate across GitLab (or Bitbucket, Github) and Jira Cloud

Hello automation lovers! 

This week we are running a webinar co-hosted with GitLab. As ever, I am going to post the rules we run through here so you can look over them at your own pace.

*If you use BitBucket or GitHub instead of Gitlab, these rules will work exactly the same. You just have to connect your Git provider. 

You can register for the webinar (or watch it on demand after) here: 

Also, you can find all DevOps automation smart values here.

Let's dive in.


Rule 1: When a commit is created and the status is 'To do', then transition this issue to 'In Progress' 

Automation GitLab Jira rule 1.png

Rule 2: When a PR is created, add a comment to the issue. If the status is 'In Progress' then transition the issue to 'In review'

Automation jira gitlab rule 2.png


Rule 3: When a PR is merged, if the status is 'In Review' and there are no open pull requests, then transition the issue to 'done' and add value to the audit log. 

automation rule gitlab jira 3.png



Bonus rules 1! 

When an incident is created, send a web patch to Statuspage and edit the incident ID.

Automation rules - Jira 2020-08-12 10-58-39.png

Bonus rule 2!

If a comment is made on an incident issue, then update Status page with a patch

Automation rules - Jira 2020-08-12 11-00-46.png

Bonus rule 3! When the incident is closed, update Statuspage

Automation rules - Jira 2020-08-12 11-08-52.png




Log in or Sign up to comment
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,794 views 10 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you