This extension fetches the merge requests associated to a redmine issue, on a gitlab server.
# GitLab MR in Redmine Extension
Prerequisites:
- Merge requests must have the redmine issue ID in the title to be fetched
This extension aims to provide information on the GitLab merge requests associated with a Redmine ticket.
It looks through the user's configured GitLab groups for merge requests with the Redmine issue ID in their title.
Then it displays the merge requests in the issue just before the "Related issues" section. The following information is displayed:
- Source project (not displaying target as I personally don't need it)
- Title
- State
- Title
- Author
- Date of merge (N/A if opened or closed)
- Target branch
- Number of days open
The information is displayed when the page is loaded.
Only trackers of type Task, User Story, Bug, Spike, and Vulnerability are supported to avoid putting unnecessary load on the GitLab host.
Also, only statuses not "new", "product backlog" or "sprint backlog" are checked for the same reason.
To use the extension, you need to input :
- GitLab Host: the URL to your GitLab host, without trailing slash. Default: https://gitlab.com
- GitLab Private Access Token: your private access token taken from GitLab, with the "read_api" permission. Use this link to access the GitLab page.
- Number of days to go back in MR list: for performance reasons, the extension doesn't search for all existing merge requests. Use this field to set the number of days you wish to search back to. Default: 30.
- Select GitLab Groups: click on "Load GitLab Groups", then select the group(s) you want to search merge requests in. A group usually contains multiple repos. It is not currently possible to look in a specific repo.
## Configurable settings :
- Gitlab host
- Gitlab token
- Number of days to go back to when looking for merge requests (for performance reasons)
- Auto fetch enabled or not
## Tested with
- Firefox
- Chrome
- Edge
- Redmine 4.1.1
- GitLab Cloud
## Changelog
v1.1
- First publication on Mozilla Store
v1.2
- Various fixes
v1.2.0.1
- Added link when no merge request is found to let the user search directly on GitLab
- Added indications to the Settings page with a link to the Token page
- Made the "GitLab Groups" selection required
- Renamed the "Group name" field to make it more explicit
- Added optional automatic retrieval (auto-fetch) at page load, enabled by default
- Added a small indication under the table that's added to the issue
- Uniformized the name of the extension
- Publication on Chrome Web Store
v1.2.0.2
- Added a check in Agile boards on all "to merge" tickets and its corresponding auto-fetch feature
- Added update pop-up
Latest reviews
- (2023-09-01) Christophe Carpentier: Marche pour mon besoin, et l'intégration est propre. Bravo!