Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 745 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 745 Bytes

Installation

brew tap freenowtech/cli
brew install freenowtech/cli/git-jira

Create a Personal Access Token (PAT) in JIRA (not Confluence ⚠️) as per instruction.

Add $JIRA_PAT and $JIRA_INSTANCE to your favorite shell:

echo -n 'export JIRA_PAT=YOUR_PAT' >> ~/.zshrc
echo -n 'export JIRA_INSTANCE=YOUR_JIRA_INSTANCE' >> ~/.zshrc
source ~/.zshrc

Usage

Run with git-jira or git jira.

Prefixing behavior

  1. Default: feature/SUP-1344-bla

  2. --no-prefix ➡️ SUP-1344-bla

  3. --prefix blubb ➡️ blubb/SUP-1344-bla