Gitlab + Jira integration, merge request, build and deploy problems

Justin June 15, 2021

I've successfully set up Gitlab integration from both the Market Place app and via Gitlab settings Jira integration. I've also set up Jira automation to transition tasks to different statuses.

I am having two problems:

  • Builds and Deploys are not showing up on Development section of the task even though commits, merge requests are there and branch is the name of the issue.
  • Merging a feature branch that contains multiple issues into the master branch doesn't transition the issues contained in the branch.

 

Builds and deploy problem:

Commit new branch named as issue ID with successful build.

image.png

 

Branches and commits show up on Jira task

image.png

But nothing shows up in build

image.png

 

Feature branch merge not transitioning issues problem:

Develop branch contains previous branches (issues), but I need to manually enter each issue ID into the description for Jira to pick it up. Since feature branch could have many issues, it's not feasible to have to manually do this every time.

Untitled-6.jpg

 

2 answers

0 votes
Daniel Ebel June 20, 2022

It's probably about this issue here:
https://gitlab.com/gitlab-org/gitlab/-/issues/300031

GitLab Deployments will only be logged from Merge Requests having the respective Jira Issue Key either in title, description or branch name.

We are facing the same issue atm as we are not deploying using MR but on change of our environment branches. Also we can't list up each and every Jira Issue Key when merging up. GitLab should rather detect keys based on commits.

Please give an upvote for the linked issue to increase its priority.

0 votes
Dafydd Johns December 7, 2021

Hi Justin - did you ever get a resolution to the issue with builds not showing up? For myself, builds and deployments show up only on merge commits, yet I can't see anywhere in documentation that this shouldn't be updated for every commit against a branch, not just merge commits.

I'm trying to see whether the people configuring the application that we're building can see the status of their configuration as they commit to the feature branch, so they get early insight to any issues, not just when a merge is performed into the develop branch.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events