admin管理员组

文章数量:1332373

Whenever developer commits a code to GitLab, it should validate with the Ticket ID of the codebeamer and check the ticket status (open,close,inprogress). Gitlab should allow the push operation based on the Ticket status of the CodeBeamer. Push operation has to be allowed only for the OPEN ticket status Hence, how to interlink the Ticket ID status of the codebeamer with GitLab also validate status of it

Whenever developer commits a code to GitLab, it should validate with the Ticket ID of the codebeamer and check the ticket status (open,close,inprogress). Gitlab should allow the push operation based on the Ticket status of the CodeBeamer. Push operation has to be allowed only for the OPEN ticket status Hence, how to interlink the Ticket ID status of the codebeamer with GitLab also validate status of it

Share Improve this question asked Nov 21, 2024 at 6:59 VandanaVandana 12 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can write a CI job to check if the status of the Ticket and then fail the job according to the need. Also there is a setting to prevent merging when there are failed pipelines https://docs.gitlab/ee/user/project/merge_requests/auto_merge.html#require-a-successful-pipeline-for-merge

This will ensure changes are not pushed to the main branch in case the requirement is not satisfied.

本文标签: How to integrate Code Beamer Ticket ID and its status with GitLabStack Overflow