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

make jiraLocation compatible with git interpret-trailers #39

Open
tamasd opened this issue Oct 15, 2021 · 1 comment
Open

make jiraLocation compatible with git interpret-trailers #39

tamasd opened this issue Oct 15, 2021 · 1 comment
Labels
question Further information is requested

Comments

@tamasd
Copy link

tamasd commented Oct 15, 2021

If jiraLocation could put the issue ID to the end of the body in a key-value like format, then git interpret-trailers could understand it. This would make processing the commit message with scripts easier.

It would be great if the JIRA's URL could be specified with the config as well, so a commit message could look like this:

fix(foo): baz no longer produces invalid value

JIRA-ID: ASDF-1234
JIRA-Link: https://my-jira-instance.example.com/browse/ASDF-1234
@juliuscc
Copy link
Collaborator

I would welcome a PR that does this but I am not sure of how useful that is. If you look at cz-conventional-changelog that this project forks from, you get almost that functionality. The reason for creating our fork is that we wanted the issue in the commit message. It looks like this:

fix(foo): baz no longer produces invalid value

fixes ASDF-1234

It is not exactly what you ask for, and our tool still has one additional functionality (automatic issue detection) but do you think it's enough for your use case?

@Saeger Saeger added the question Further information is requested label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants