зеркало из
1
0
Форкнуть 0
This commit is contained in:
Gardner 2018-05-22 12:58:58 -04:00
Родитель 09a2a0f632
Коммит b570f7f4ba
4 изменённых файлов: 2128 добавлений и 2085 удалений

4146
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -62,17 +62,59 @@ All actions can be triggered using npm scripts (`npm run <target>`), no addition
You need
* node/npm
1. Download the .zip file from the [Master Branch](https://github.com/Microsoft/vsts-wsjf-extension/archive/master.zip)
2. Extract to a local folder on your machine
3. Open up a command prompt (or powershell) and change directory to your root folder *(ie. C:\ ... \vsts-wsjf-extension-master)*
4. Run the command in command prompt: `npm update && npm install`
then just clone and execute `npm install`.
### Development ###
*Note: Be sure to install npm in your root directory*
1. Run `npm run publish:dev` to publish the current extension manifest to the marketplace as a private extension with a suffix of `-dev` added to the extension id. This package will use a baseUri of `https://localhost:8080`.
### Development (Local Instance of TFS) ###
*These are solutions for running on a local instance of TFS **only**. If you build from these and push to a live server, they will not work*
* Run `npm run publish:dev` to publish the current extension manifest to the marketplace as a private extension with a suffix of `-dev` added to the extension id. This package will use a baseUri of `https://localhost:8080`.
* Run `npm run dev` to start a webpack development server that watches all source files. Tests live next to product code and use a `.tests.ts` suffix instead of only `.ts`.
* To run a single test pass execute `npm run test`, to keep watching tests and build/execute as you develop execute `npm run dev:test`.
2. Run `npm run dev` to start a webpack developmen server that watches all source files. Tests live next to product code and use a `.tests.ts` suffix instead of only `.ts`.
### Production (Live TFS Server) ###
3. To run a single test pass execute `npm run test`, to keep watching tests and build/execute as you develop execute `npm run dev:test`.
### Production ###
*Pushing to a live TFS Server instance*
1. Run `npm run publish:release` to compile all modules into bundles, package them into a .vsix, and publish as a *public* extension to the VSTS marketplace.
*NOTE: You may get an error on the publish part, however your .vsix file should be in your root to manually upload to your TFS Server if you have not setup a marketplace*
### Adding RROE and WSJF Score Values (For Non-VSTS) ###
1. Export your WorkItem.XML file *(ie. Epic.XML)* using either [Visual Studio Powertools](https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.ProductivityPowerPack2017) or [WITAdmin](https://docs.microsoft.com/en-us/vsts/work/customize/reference/witadmin/witadmin-import-export-manage-wits?view=tfs-2018)
2. At the bottom of your "Fields" section add the following (Name and reference names may vary):
``` xml
<FIELD name="WSJF Risk-Reduction Opportunity-Enablement" refname="WSFJ.RROEValue" type="Integer" reportable="dimension">
<HELPTEXT> WSJF Risk-Reduction </HELPTEXT>
</FIELD>
<FIELD name="WSJF Score" refname="WSJF.Score" type="Double" reportable="dimension">
<HELPTEXT> WSJF Score </HELPTEXT>
</FIELD>
```
3. Under your
`<Form>` and `<WebLayout>` tags, choose where you would like the WSJF calculation to go and add:
```xml
<Section>
<Group Label="WSJF">
<Control Label="User-Business Value" Type="FieldControl" FieldName="Microsoft.VSTS.Common.BusinessValue" EmptyText="[Numbered Value]" />
<Control Label="Urgency/Time Criticality" Type="FieldControl" FieldName="Microsoft.VSTS.Common.TimeCriticality" EmptyText="[Numbered Value]" />
<Control Label="Risk Reduction/Opportunity Enablement" Type="FieldControl" FieldName="WSJF.RROEValue" EmptyText="[Numbered Value]" />
<Control Label="Size" Type="FieldControl" FieldName="Microsoft.VSTS.Scheduling.Effort" EmptyText="[Numbered Value]" />
<Control Label="WSJF Score" Type="FieldControl" FieldName="WSJF.Value" EmptyText="[Numbered Value]" />
</Group>
</Section>
```
4. After this is done, open up your WSJF tab and adjust your settings:
![Mapping fields for calculation](marketplace/Settings.gif)

Просмотреть файл

@ -139,6 +139,7 @@ export class Settings {
}
else {
console.log("Failed to retrieve fields from storage, defaulting values")
//Enter in your config referenceName for "rvField" and "wsjfField"
this._selectedFields = {
bvField: "Microsoft.VSTS.Common.BusinessValue",
tcField: "Microsoft.VSTS.Common.TimeCriticality",

Просмотреть файл

@ -1,10 +1,10 @@
{
"manifestVersion": 1,
"version": "1.0.9",
"name": "WSJF (Weighted Shortest Job First)",
"version": "1.0.0",
"name": "QL WSJF (Weighted Shortest Job First)",
"scopes": [ "vso.work", "vso.work_write" ],
"description": "Auto calculates WSJF (weighted shortest job first) per work item and stores it in a work item field.",
"publisher": "MS-Agile-SAFe",
"publisher": "Quicken-Loans",
"id": "WSJF-extension",
"icons": {
"default": "marketplace/logo.png"
@ -31,8 +31,8 @@
}
},
"branding": {
"color": "rgb(220, 235, 252)",
"theme": "light"
"color": "rgb(255, 0, 0)",
"theme": "Dark"
},
"categories": [
"Plan and track"