1.0.1 • Published 6 months ago
jira-craft v1.0.1
JiraCraft
Simple CLI tool that creates Git branches from JIRA tickets. Automatically fetches ticket details and creates properly formatted branch names.
Installation
Choose your preferred package manager:
npm
# Clone and install dependencies
npm install
# Make command available globally
npm link
yarn
# Clone and install dependencies
yarn install
# Make command available globally
yarn link
pnpm
# Clone and install dependencies
pnpm install
# Make command available globally
pnpm link -g
Setup
Configure your JIRA credentials:
jc config
Usage
From within any git repository:
jc start-work
# Or directly with a ticket ID
jc start-work DC-1234
The tool will:
- Fetch the ticket details from JIRA
- Create a branch name following the pattern:
type/ticket-id/title
- Create and checkout the new branch
License
MIT