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

CLI cannot figure out type based on Jira ticket #102

Open
kostia-hospodarysko opened this issue Dec 20, 2024 · 0 comments
Open

CLI cannot figure out type based on Jira ticket #102

kostia-hospodarysko opened this issue Dec 20, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@kostia-hospodarysko
Copy link

Detailed description

Given the cli command
gh sherpa cpr -i [JIRAKEY-12345]
cli cannot figure out issue type, when in Jira it is a story, so I assume for new stories branch should have "feature" prefix. But instead it gives "WARNING: undetermined issue type". And I need to select it manually each time.

Expected behaviour

  1. To have a list of how Jira issue type corresponds to branch prefix/type and cli correctly selects it.
  2. or/and have a cli flag like --branch-type=feature (or any other type) that I can put to initial command so I don't need to manually select it (as I know what branch it should be already) and command would look like
    gh sherpa cpr -i [JIRAKEY-12345] --branch-type=feature

Screenshot 2024-12-04 at 19 36 23 (1)

@kostia-hospodarysko kostia-hospodarysko added the kind/bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant