Distinguish manual GitLab for Jira Cloud apps by hostname
What does this MR do and why?
This MR improves the user experience when multiple GitLab for Jira Cloud apps are installed in a single Jira Cloud instance. Currently, the "Create branch" dropdown shows the same text ("Create branch in GitLab") for all apps, making it difficult to distinguish between them.
This scenario occurs when both:
- The GitLab for Jira Cloud app is installed via the Atlassian Marketplace
- The GitLab for Jira Cloud app is installed manually
Changes
- For manually installed apps: Adds the GitLab hostname to the display name (e.g., "GitLab (gitlab.example.com)")
- For the Marketplace app: Keeps the simple "GitLab" name as it's always installed from GitLab.com.
The Marketplace app maintains the simple name because showing "GitLab (gitlab.com)" would be misleading when the app is configured to point to a self-managed instance.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Setup a free Jira Cloud instance. You will need an Atlassian account for this.
- Install the GitLab for Jira Cloud app via the Atlassian Marketplace. It doesn't matter if you point it to GitLab.com or a self-managed instance.
- Run this MR in a Gitpod and ensure port 3000 is public
-
Install the GitLab for Jira Cloud app manually - when prompted for the app descriptor, point it to
https://<GITPOD>/-/jira_connect/app_descriptor.json - Create a Jira project and issue.
- In the Jira issue, navigate to the development panel and click "Create branch"
- You should see both options "Create branch in GitLab" and "Create branch in GitLab ()"

