Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

GitLab integration incorrectly links branch/pull request

Joachim Svítek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2024

Hello, 
we are using GitLab integration to link commits, branches and pull requests to correct task.

Everything works fine, except when another issue is mentioned in GitLab pull request's description. This issue gets the branch and pull request incorrectly assigned.

According to the documentation the link should be created from issues mention in the pull request title, I could not find mention of using issues mentioned in the pull request description.

Example:
branch name: ABC-1-functionality-1
commit names: always prefixed with ABC-1 and no other task mentioned
pull request title: ABC-1 Add functionality 1
pull request description: Please note that this PR does not implement functionality 2, for which ABC-2 task has been created. 

This example would correctly link branch, commits and pull request to the ABC-1 task.
However this example would also link branch and pull request to the ABC-2 task, because it is mentioned in the description.

Is this expected behavior? I don't find it to be, because I could not find a single mention of using task IDs from the pull request's description, in the documentation.

Is there a way to ignore tasks mentioned in the description and use only task ID from the title? 

Thank you! 


0 answers

Suggest an answer

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

Atlassian Community Events