git-changelog-lib
git-changelog-lib copied to clipboard
Include Jira issue link from git message title
trafficstars
I have a question if it would be possible to check a match against another vairable like this:
{{#ifMatches messageTitle "^{{issue}}+"}}
{{link}}
{{/ifMatches}}
At the moment I cant check messageTitle against anything but this works:
{{#ifMatches issue "^[A-Z]+-[0-9]+"}}
{{link}}
{{/ifMatches}}
Sounds like a nice feature.
PR:s are welcome. It has to be a simple implementation, I don't want this to complicate the code.