Skip to content

JIRA from branch name, but not the whole branch name #30

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

Open
chrisfindlayST opened this issue Mar 23, 2025 · 0 comments
Open

JIRA from branch name, but not the whole branch name #30

chrisfindlayST opened this issue Mar 23, 2025 · 0 comments

Comments

@chrisfindlayST
Copy link

Description

When setting the default Jira ticket number, it chooses the whole branch name.

What is the use case that should be solved?

It'd be nice if we could configure it to match the ^[A-Z]+-\d+ prefix only so we can name our branches something descriptive with the ticket ID as a prefix - e.g. PROJ-123_someFeatureDescription

If there is additional config how would it look?

Probably something like a setting for where to look for the Jira ID, and maybe what to do if it finds >1 match.

Similar or dependent issues:

  • #12345

Additional Data

Version of cz-jira-smart-commit you're using:
^1.3.1

Node Version:
14 😟

Operating System:
u*ix (Cygwin under windows)

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

No branches or pull requests

1 participant