Skip to content

Instantly share code, notes, and snippets.

@mariia-cherniuk
Created September 12, 2020 17:33
Show Gist options
  • Save mariia-cherniuk/82050708419e97844e0141ba2ef21554 to your computer and use it in GitHub Desktop.
Save mariia-cherniuk/82050708419e97844e0141ba2ef21554 to your computer and use it in GitHub Desktop.
desc "Create and checkout git branch for a JIRA ticket"
lane :checkout do |options|
ticket = options[:ticket]
if !ticket
ticket = prompt(text: "JIRA ticket key e.g. AMI-XYZ: ")
end
checkout_branch_for_jira_issue(key: ticket)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment