https://github.com/ericadamski/jira-git-ticket
🎟 Lookup open JIRA tickets and generate branch names
https://github.com/ericadamski/jira-git-ticket
Last synced: 3 months ago
JSON representation
🎟 Lookup open JIRA tickets and generate branch names
- Host: GitHub
- URL: https://github.com/ericadamski/jira-git-ticket
- Owner: ericadamski
- Created: 2021-06-11T16:27:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-30T17:42:07.000Z (almost 4 years ago)
- Last Synced: 2025-01-06T09:45:38.065Z (5 months ago)
- Language: JavaScript
- Size: 287 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎟 git-ticket
A script to lookup active JIRA tickets and create branch names.
## Setup
1. `yarn global add jira-git-ticket`
3. Log in using `git-ticket login ` get your token here: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/#APItokens-CreateanAPItoken
4. Set the environment variable for your Atlassian server by adding `export JIRA_BASE_URL=https:.atlassian.net` to your `.(bash|zsh)rc`.
5. Use `git-ticket branch` to generate a branch name for a ticket## Usage
```
Usage: git-ticket [options] [command]Options:
-V, --version output the version number
-h, --help display help for commandCommands:
login Authorize the script to read all JIRA issues assigned to your account.
ls List all your active JIRA issues
branch Select a JIRA issue to create a branch name from.
help [command] display help for command
```