A Azure Devops extension that allows you to easily copy a branch name or a ticket name from a ticket.
- No Azure Devops admin rights needed
- Easily copy a branch name and ticket name
- 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 Azure Devops ticket
- Paste code from azure-devops-copy-branch-name.js into Run JavaScript window, and select 'Enable on ' checkbox
- Click Save and Run
Every time you open a Azure Devops ticket, next to the name there will be two new buttons to copy branch name and ticket name. Bonus: browser title will be set to the ticket name
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.
You can commit a PR if you like
Tomasz Smykowski (http://tomasz-smykowski.com)