Jira Workflow triggers for GitLab

cgadade February 12, 2020

Hi Jira Community, 

We would like to update the status of an Jira issue with gitlab automatically.( like happens in Jira and bitbucket).

i.e. : 

GitLab                                                                                               Jira Issue

1.Branch Created                                                                Transition - To Do-> In Progress          

2. Commited code                                                          Transition - In Progress-> In Review

3.  Merged the request                                                  Transition - In Review-> Done

 

I know we can change the Jira issue status through smart commits but we are looking into workflow level triggers .But in jira side triggers are not supported for Gitlab.Can someone help how we can do this using Scriptrunner or any Marketplace plugins or Custom plugin etc.We are using jira server .Eagerly waiting for your help.

 

Along with Above requirement,

   We are looking for If we create branch in Jira then Jira ticket will automatically go to In Progress status from To Do .So we want to Change the status of GitLab ticket as well.

Is there any workaround to do this.

 

3 answers

1 vote
Shilpa Airi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2020

Hi there,

 

We have rolled out support for Git triggers that you can use with Jira Automation Platform to create these workflows. Please see here for more details.

 

Cheers,

Shilpa

Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2021

Those triggers are for cloud and the original question is about Jira Server, unless I'm mistaken.

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2021

The app called Better DevOps Automation offers the following triggers that you requested for GitLab (and other Git implementations):

  1. Branch Created
  2. Commit Created

And here is the recipe how to create an automation that moves an issue from one status to another.  You can use this as inspiration to create yours.

Note that pull request automation is already in our backlog. I'm a developer working on this paid and supported app.

devops-automation-rule-branch-created

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2020

Hello @cgadade ,

Searching the marketplace I can find some add-ons to integrate Jira with Gitlab:

 

However, going through the results, I think the only one (or one of the few) that provides 2 way integration seems to be:  Sync Jira with GitLab

Please review above add-on and also the other search results. Together with that, may also review the below links:

 

I hope this helps.

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer