Jira Connect New Branch form: Automatically select GitLab project based on Jira project
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Current Behaviour
When users click "Create branch" in the Jira development panel and are redirected to GitLab, they encounter a form with a project dropdown selector showing all GitLab projects they have access to. The form includes:
- Project selection dropdown
- Source branch selection
- Branch name field (pre-populated with Jira issue key)
Problem
Many organizations maintain a 1:1 relationship between Jira projects and GitLab projects. The current project dropdown selector:
- Creates unnecessary complexity
- Increases risk of creating branches in incorrect projects
- Adds an extra step in the workflow
Proposal
If we can somehow define a 1:1 relationship between Jira projects and GitLab projects, do the following when creating a branch via Jira in an eligible GitLab project:
- Remove the project dropdown selector entirely
- Automatically detect and select the corresponding GitLab project based on the Jira project
- Keep other form elements (source branch selection and branch name) unchanged
Edited by 🤖 GitLab Bot 🤖