Bookmarklet to create a feature branch from a Jira ticket
- In Chrome, go to your Bookmarklets (chrome://bookmarks/) and add a new one.
- Copy the code from bookmarklet-code.js into the URL field and give the Bookmarklet a proper name.
- When a Jira ticket is opened (in a dialog or on the detail page), click on the Bookmarklet.
- The code to create the branch is copied to you clipboard.
- Go to your terminal and paste the copied code. The branch is directly created and pushed to the server.
Of course, you can adjust the bookmarklet code to fit your needs.