Description
Feature Description
A lot of people are using Jira or other issue trackers to track their development efforts. A way to link gitea PRs and other resources to an issue would be nice. (This could also work for Jenkins links and other links you might reference, maybe even an entirely different instance of gitea)
Bitbucket.org has a pretty simple implementation which would be simple enough to implement in my opinion.
(ref: https://support.atlassian.com/bitbucket-cloud/docs/link-to-a-web-service/)
- Define a regex with capture groups
- Define a link template using those capture groups
My screenshot illustrates how a string "MYISSUE-1234" for example could be turned into a link to https://jira.gitea.com/MYISSUE-1234
Relevant places this regex should apply to:
- Commit Messages
- Pull Request Titles
- Pull Request Body
- Pull Request Comments
- Issue Titles
- Issue Body
- Issue Comments
- more suggestions welcome
Overall this feature is similar how you might reference an issue or PR from gitea like #23000 or so, but with a custom URL.