digitalroute / cz-conventional-changelog-for-jira

A commitizen adapter for the angular preset of https://github.com/conventional-changelog/conventional-changelog
MIT License
65 stars 63 forks source link

Is there a way to detect lowercase jira id? #38

Closed kayqq closed 2 years ago

kayqq commented 3 years ago

Currently the automatic branch name detection only works if the branch has a matching jiraPrefix example:

juliuscc commented 3 years ago

Do you want to use lowercase for your branches but uppercase for your commit messages? Otherwise, I think it should work to set jiraPrefix to a lowercase word. Like daz instead of DAZ.

wpater commented 2 years ago

I think it could be helpful for developers which are working with cz to support both cases (feature-daz-1234-branch-name and feature-DAZ-1234-branch-name) and use uppercase in the commit message.

juliuscc commented 2 years ago

Yeah, it would make sense for it to be case-independent. I would welcome a PR that changes that. 👍

wpater commented 2 years ago

@juliuscc I am not a JS expert but this should be enough - https://github.com/digitalroute/cz-conventional-changelog-for-jira/pull/60

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 7.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: