Add Option for Defining Custom Redmine Integration Reference Pattern

Problem to solve

With Redmine Integration configured and a title such as "#123456789 - Add patches for VULNERABILITY-9429 and VULNERABILITY-5623", the VULNERABILITY-* get linked to the Redmine issue tracker, but only #123456789 should get linked there.

Intended users

  • Parker (Product Manager)
  • Delaney (Development Team Lead)
  • Sasha (Software Developer)
  • Presley (Product Designer)
  • Devon (DevOps Engineer)
  • Sidney (Systems Administrator)

Further details

This is used by anyone wanting to link to Redmine.

Proposal

Add a field to the Redmine Service for defining a reference pattern. This reference pattern would then be passed to issue_tracker_service.rb. This would be a part of the Adopt All Features Stage of the User journey.

Permissions and Security

The reference pattern would need to be setup by somebody with access to the Redmine Integration settings. It can then be used by anyone able to file an issue, submit a Merge Request, or make commits.

Documentation

Documentation at the Redmine Service page would need to be updated.

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

This is a basic feature and so should go into the core tier.

Links / references

  • https://docs.gitlab.com/ee/user/project/integrations/redmine.html
  • https://gitlab.com/gitlab-org/gitlab-foss/blob/78ee24ba53a4a44d829613495ec0d5f1bbb5a9ee/app/models/project_services/issue_tracker_service.rb#L9
  • #18558
Assignee Loading
Time tracking Loading