Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Jira issue link from git message title #141

Open
arboeh opened this issue Oct 25, 2022 · 1 comment
Open

Include Jira issue link from git message title #141

arboeh opened this issue Oct 25, 2022 · 1 comment

Comments

@arboeh
Copy link

arboeh commented Oct 25, 2022

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 arboeh changed the title Include Jira link from message title Include Jira issue link from git message title Oct 25, 2022
@tomasbjerre
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants