Generate git branch names from Jira tickets.
Generating branch names can be an additional pain in the neck; let Bran Flakes do it for you. Just click the icon on any Jira issue page to get a nicely formatted branch name that future you will thank you for.
- Generates branch names from Jira ticket type, number, and summary
- Editable (click the pencil icon to tweak before copying)
- One-click copy to clipboard
- Auto-detects your Jira domain on first use
- Sane error messaging
- Works in both Chrome and Firefox
npm install
npm run build- Open
chrome://extensions - Enable "Developer mode" (top right)
- Click "Load unpacked"
- Select the
dist/directory
- Open
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on"
- Select any file inside the
dist/directory (e.g.dist/manifest.json)
Open the extension's options page and enter your Jira domain (e.g. jira.plutocracy.com). The extension only activates on pages matching your domain.
If no domain is configured, the extension will offer to use the current page's domain when you first click it on it, provided you're on a Jira page.
npm start # watch mode with hot reload
npm test # run tests
npm run test:watch # run tests in watch modeHusky runs tslint and vitest on staged files before each commit.
{ticketType}/{ticketNumber}_{ticketName}
Ticket types are abbreviated: Tech Ticket becomes tech, Feature Story becomes feature, Release Ticket becomes release. Others (Bug, Task, Epic) stay as-is.
Special characters (parentheses, colons, brackets, and other git-invalid characters) are stripped. Trailing hyphens and underscores are removed. Consecutive hyphens are collapsed.