Skip to content

Remove branch on jira when deleted on gitlab

Carla Drago requested to merge 351625-sync-branch-deletion into master

This adds a new hook to the branch service that removes the branch record on jira when the branch is prefixed with a Jira key and the instance has the Jira app connected.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Branch-deletion-3

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-04-04_at_17.56.22 Screenshot_2024-04-04_at_19.45.40
Screenshot_2024-04-04_at_17.58.19 Screenshot_2024-04-04_at_18.01.10

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Validating this is going to be tricky as the development work has needed to be done on gitpod, and that instance needs to have a jira app connected. I've made a video with commentary (see above) that demonstrates the changes. I'm also happy to do a sync session and repeat the steps in the video.

Related to #351625

Edited by Carla Drago

Merge request reports