Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freenowtech/git-jira
https://github.com/freenowtech/git-jira
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/freenowtech/git-jira
- Owner: freenowtech
- License: apache-2.0
- Created: 2024-01-15T14:52:11.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-31T18:01:39.000Z (12 months ago)
- Last Synced: 2024-12-09T20:08:40.499Z (about 1 month ago)
- Language: Python
- Size: 979 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
- Security: SECURITY
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`