Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/freenowtech/git-jira


https://github.com/freenowtech/git-jira

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

![](out.gif)

## Installation

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

Create a Personal Access Token (PAT) in **JIRA** (not Confluence ⚠️) as per [instruction](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html#UsingPersonalAccessTokens-CreatingPATsintheapplication).

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`