A JIRA extension that allows you to easily copy a branch name from a ticket.
- No GitHub, GitLab etc. integration needed
- No JIRA admin rights needed
- Easily copy a branch name in GitFlow naming convention
- See the branch name in your browser title and in toolbar
- Easy to customise. It is pure, editable JavaScript
- Install 'Run JavaScript' extension (https://chrome.google.com/webstore/detail/run-javascript/lmilalhkkdhfieeienjbiicclobibjao?hl=en) for Chrome, or any other extension that allows you to run JavaScript in the browser
- Open JIRA ticket
- Paste code from jira-copy-branch-name.js into Run JavaScript window, and select 'Enable on ' checkbox
- Click Save and Run
Every time you open a JIRA ticket, next to the name there will be a button called 'Copy branch name'. It will prepare a branch name from the ticket number eg. 'feature/CR-182' and copy it to the clipboard. Now you can go to console and create your branch faster.
Validate the security of your browser, JS execution extension and your code to make sure, you won't copy and execute malcious script in your console.
Become a patron for 3$ and receive amazing Patreon benefits:
https://www.patreon.com/tomaszs
You can commit a PR if you like
Tomasz Smykowski (http://tomasz-smykowski.com)