emilyenco/DevOpsWorkItemRESTRequestButton
Adds a custom control with a button that sends a REST request.
https://marketplace.visualstudio.com/items?itemName=Apodemus.RESTRequestButton
|
|
||
|---|---|---|
| .github | initial | |
| src | initial | |
| static | initial | |
| .gitignore | initial | |
| azure-devops-extension.json | initial | |
| LICENSE | initial | |
| overview.md | initial | |
| package-lock.json | initial | |
| package.json | initial | |
| README.md | initial | |
| restbutton-128.png | initial | |
| restbutton-512.png | initial | |
| restbutton.png | initial | |
| restbutton.svg | initial | |
| SECURITY.md | initial | |
| tsconfig.json | initial | |
| webpack.config.js | initial | |
Work Item REST Request Button
This extension adds a custom control for work items with a button that sends a REST request.
Dependencies
The repository depends on a few Azure DevOps packages:
- azure-devops-extension-sdk: Required module for Azure DevOps extensions which allows communication between the host page and the extension iframe.
- azure-devops-extension-api: Contains REST client libraries for the various Azure DevOps feature areas.
- azure-devops-ui: UI library containing the React components used in the Azure DevOps web UI.
Some external dependencies:
React- Is used to render the UI in the samples, and is a dependency ofazure-devops-ui.TypeScript- Samples are written in TypeScript and compiled to JavaScriptSASS- Extension samples are styled using SASS (which is compiled to CSS and delivered in webpack js bundles).webpack- Is used to gather dependencies into a single javascript bundle for each sample.
Debugging the project
Building the project
Just run:
npm run build
This produces a .vsix file which can be uploaded to the Visual Studio Marketplace
Usage
In your project settings, under Boards > Process > [ Your work item type of choice ], you can add a custom control. A window like this should appear:
You need to configure a few mandatory settings: