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

Help wanted: How can I extract the JIRA ticket number from Git branch name #4

Closed
Abdul-Hannan opened this issue Jul 10, 2018 · 1 comment

Comments

@Abdul-Hannan
Copy link

We have a convention that branch name should start with JIRA ticket number

so if Jira ticket is : https://xyz.atlassian.net/browse/PP-4045
so branch name will start with PP-4045

Jira issue key is a required input for this step. How can I enter this value dynamically in my case?

@BirmacherAkos
Copy link
Contributor

Hi @Abdul-Hannan !

If you put $BITRISE_GIT_BRANCH in the Jira issue keys input it should work.

I'm closing this issue.
If you have more questions please open a new thread on discuss-questions.

@bitrise-steplib bitrise-steplib locked and limited conversation to collaborators Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants