git-changelog-lib icon indicating copy to clipboard operation
git-changelog-lib copied to clipboard

Include Jira issue link from git message title

Open arboeh opened this issue 3 years ago • 1 comments
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}}

arboeh avatar Oct 25 '22 10:10 arboeh

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.

tomasbjerre avatar Oct 30 '22 07:10 tomasbjerre