In my company we use youtrack for issue tracking. Youtrack have issue ID in format XYZ-123 where is XYZ is project (not gitlab project) and 123 number of issue in project.
We have problem with regular expression for find and make link to external issue.
Main goal is working link to youtrack from commit messages and merge requests.
Proposal
Create new issue tracker based on IssueTrackerService with specific regexp for select whole issue ID.
Currect regexp is %r{(?<issue>[0-9A-Za-z_]+-[0-9]+)}
This is our scenario too. We have a locally installed instance of YouTrack, and while our developers are comfortable using GitLab Issues, not everyone in the company is - and data can flow back and forth between them. We also would have situations where a GitLab project could be referenced by multiple YouTrack projects, due to how we track general usage and specific projects in YouTrack.
@faceme had some excellent suggestions in his related issue to this, and described the problem much better than I could. However, because that was closed, it doesn't have any upvotes. Perhaps we can get visibility on those solutions over here?
Hey @bessorion, thanks for implementing this! :) Is there a specific reason why the issue ID has to start with a capital letter? All our project IDs start with a lower case letter.