Work Item Types - Get
Restituisce una definizione del tipo di elemento di lavoro.
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypes/{type}?api-version=4.1
Parametri dell'URI
Nome | In | Necessario | Tipo | Descrizione |
---|---|---|---|---|
organization
|
path | True |
string |
Nome dell'organizzazione di Azure DevOps. |
project
|
path | True |
string |
ID progetto o nome del progetto |
type
|
path | True |
string |
Nome del tipo di elemento di lavoro |
api-version
|
query | True |
string |
Versione dell'API da usare. Deve essere impostato su '4.1' per usare questa versione dell'API. |
Risposte
Nome | Tipo | Descrizione |
---|---|---|
200 OK |
operazione riuscita |
Sicurezza
oauth2
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes
Nome | Descrizione |
---|---|
vso.work | Concede la possibilità di leggere elementi di lavoro, query, bacheche, percorsi di aree e iterazioni e altri metadati correlati al rilevamento degli elementi di lavoro. Concede inoltre la possibilità di eseguire query e ricevere notifiche sugli eventi degli elementi di lavoro tramite hook del servizio. |
Esempio
Sample Request
GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/wit/workitemtypes/{type}?api-version=4.1
Sample Response
{
"name": "Bug",
"referenceName": "Microsoft.VSTS.WorkItemTypes.Bug",
"description": "Describes a divergence between required and actual behavior, and tracks the work done to correct the defect and verify the correction.",
"color": "CC293D",
"icon": {
"id": "icon_insect",
"url": "https://dev.azure.com/fabrikam/_apis/wit/workItemIcons/icon_insect?color=CC293D&v=2"
},
"isDisabled": false,
"xmlForm": "<FORM><Layout HideReadOnlyEmptyFields=\"true\" HideControlBorders=\"true\"><Group Margin=\"(10,0,0,0)\"><Column PercentWidth=\"94\"><Control Label=\"\" LabelPosition=\"Top\" FieldName=\"System.Title\" Type=\"FieldControl\" EmptyText=\"Enter title here\" ControlFontSize=\"large\" /></Column><Column PercentWidth=\"6\"><Control Label=\"\" LabelPosition=\"Top\" FieldName=\"System.Id\" Type=\"FieldControl\" ControlFontSize=\"large\" /></Column></Group><Group Margin=\"(10,10,0,0)\"><Column PercentWidth=\"30\"><Control Label=\"Assi&gned To\" LabelPosition=\"Left\" FieldName=\"System.AssignedTo\" Type=\"FieldControl\" EmptyText=\"Unassigned\" /><Control Label=\"Stat&e\" LabelPosition=\"Left\" FieldName=\"System.State\" Type=\"FieldControl\" /><Control Label=\"Reason\" LabelPosition=\"Left\" FieldName=\"System.Reason\" Type=\"FieldControl\" /></Column><Column PercentWidth=\"40\"><Control Label=\"\" LabelPosition=\"Top\" Type=\"LabelControl\" /><Control Label=\"&Area\" LabelPosition=\"Left\" FieldName=\"System.AreaPath\" Type=\"WorkItemClassificationControl\" /><Control Label=\"Ite&ration\" LabelPosition=\"Left\" FieldName=\"System.IterationPath\" Type=\"WorkItemClassificationControl\" /></Column><Column PercentWidth=\"30\"><Control Label=\"\" LabelPosition=\"Top\" Name=\"2\" Type=\"LabelControl\" /><Control Label=\"\" LabelPosition=\"Top\" Name=\"3\" Type=\"LabelControl\" /><Control Label=\"Last Updated Date\" LabelPosition=\"Left\" FieldName=\"System.ChangedDate\" Type=\"DateTimeControl\" ReadOnly=\"True\" /></Column></Group><TabGroup Margin=\"(0,10,0,0)\"><Tab Label=\"Details\"><Group><Column PercentWidth=\"50\"><Group><Column PercentWidth=\"100\"><Group Label=\"Repro Steps\"><Column PercentWidth=\"100\"><Control Label=\"\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.TCM.ReproSteps\" Type=\"HtmlFieldControl\" Margin=\"(0,0,0,10)\" /></Column></Group><Group Label=\"System Info\"><Column PercentWidth=\"100\"><Control Label=\"\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.TCM.SystemInfo\" Type=\"HtmlFieldControl\" Margin=\"(0,0,0,10)\" /></Column></Group></Column></Group></Column><Column PercentWidth=\"50\"><Group Margin=\"(20,0,0,0)\"><Column PercentWidth=\"25\"><Group><Column PercentWidth=\"100\"><Group Label=\"Planning\"><Column PercentWidth=\"100\"><Control Label=\"Resolved Reason\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Common.ResolvedReason\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /><Control Label=\"Story Points\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Scheduling.StoryPoints\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /><Control Label=\"Priority\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Common.Priority\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /><Control Label=\"Severity\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Common.Severity\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /><Control Label=\"Activity\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Common.Activity\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /></Column></Group><Group Label=\"Effort (Hours)\"><Column PercentWidth=\"100\"><Control Label=\"Original Estimate\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Scheduling.OriginalEstimate\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /><Control Label=\"Remaining\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Scheduling.RemainingWork\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /><Control Label=\"Completed\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Scheduling.CompletedWork\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /></Column></Group></Column></Group></Column><Column PercentWidth=\"25\"><Group><Column PercentWidth=\"100\"><Group Label=\"Development\"><Column PercentWidth=\"100\"><Control Label=\"\" LabelPosition=\"Top\" FieldName=\"Development\" Type=\"LinksControl\" Margin=\"(0,0,0,10)\"><LinksControlOptions><WorkItemLinkFilters FilterType=\"excludeAll\" /><ExternalLinkFilters FilterType=\"include\"><Filter LinkType=\"Build\" /><Filter LinkType=\"Integrated in build\" /><Filter LinkType=\"Pull Request\" /><Filter LinkType=\"Branch\" /><Filter LinkType=\"Fixed in Commit\" /><Filter LinkType=\"Fixed in Changeset\" /><Filter LinkType=\"Source Code File\" /><Filter LinkType=\"Found in build\" /></ExternalLinkFilters><LinkColumns><LinkColumn RefName=\"System.Id\" /><LinkColumn RefName=\"System.Title\" /><LinkColumn LinkAttribute=\"System.Links.Comment\" /></LinkColumns></LinksControlOptions></Control></Column></Group><Group Label=\"Related Work\"><Column PercentWidth=\"100\"><Control Label=\"\" LabelPosition=\"Top\" FieldName=\"Related Work\" Type=\"LinksControl\" Margin=\"(0,0,0,10)\"><LinksControlOptions><WorkItemLinkFilters FilterType=\"include\"><Filter LinkType=\"System.LinkTypes.Duplicate\" /><Filter LinkType=\"System.LinkTypes.Hierarchy\" /><Filter LinkType=\"Microsoft.VSTS.Common.TestedBy\" /><Filter LinkType=\"System.LinkTypes.Dependency\" /><Filter LinkType=\"System.LinkTypes.Related\" /></WorkItemLinkFilters><ExternalLinkFilters FilterType=\"excludeAll\" /><LinkColumns><LinkColumn RefName=\"System.Id\" /><LinkColumn RefName=\"System.Title\" /><LinkColumn RefName=\"System.AssignedTo\" /><LinkColumn RefName=\"System.WorkItemType\" /><LinkColumn RefName=\"System.State\" /><LinkColumn RefName=\"System.ChangedDate\" /><LinkColumn LinkAttribute=\"System.Links.Comment\" /></LinkColumns></LinksControlOptions></Control></Column></Group><Group Label=\"System Info\"><Column PercentWidth=\"100\"><Control Label=\"Found in Build\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Build.FoundIn\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /><Control Label=\"Integrated in Build\" LabelPosition=\"Top\" FieldName=\"Microsoft.VSTS.Build.IntegrationBuild\" Type=\"FieldControl\" Margin=\"(0,0,0,10)\" /></Column></Group></Column></Group></Column></Group></Column></Group></Tab><Tab Label=\"History\"><Group><Column PercentWidth=\"100\"><Group><Column PercentWidth=\"100\"><Group><Column PercentWidth=\"100\"><Control Label=\"\" LabelPosition=\"Top\" FieldName=\"System.History\" Type=\"WorkItemLogControl\" Margin=\"(0,0,0,10)\" /></Column></Group></Column></Group></Column></Group></Tab><Tab Label=\"Links\"><Group><Column PercentWidth=\"100\"><Group><Column PercentWidth=\"100\"><Group><Column PercentWidth=\"100\"><Control Label=\"\" LabelPosition=\"Top\" Type=\"LinksControl\" Margin=\"(0,0,0,10)\"><LinksControlOptions><LinkColumns><LinkColumn RefName=\"System.Id\" /><LinkColumn RefName=\"System.Title\" /><LinkColumn RefName=\"System.AssignedTo\" /><LinkColumn RefName=\"System.WorkItemType\" /><LinkColumn RefName=\"System.State\" /><LinkColumn RefName=\"System.ChangedDate\" /><LinkColumn LinkAttribute=\"System.Links.Comment\" /></LinkColumns></LinksControlOptions></Control></Column></Group></Column></Group></Column></Group></Tab><Tab Label=\"Attachments\"><Group><Column PercentWidth=\"100\"><Group><Column PercentWidth=\"100\"><Group><Column PercentWidth=\"100\"><Control Label=\"Attachments\" LabelPosition=\"Top\" Type=\"AttachmentsControl\" Margin=\"(0,0,0,10)\" /></Column></Group></Column></Group></Column></Group></Tab></TabGroup></Layout></FORM>",
"fields": [
{
"helpText": "The iteration within which this bug will be fixed",
"alwaysRequired": false,
"referenceName": "System.IterationPath",
"name": "Iteration Path",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": true,
"referenceName": "System.IterationId",
"name": "Iteration ID",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.ExternalLinkCount",
"name": "External Link Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.TeamProject",
"name": "Team Project",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.HyperLinkCount",
"name": "Hyperlink Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AttachedFileCount",
"name": "Attached File Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.NodeName",
"name": "Node Name",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The area of the product with which this bug is associated",
"alwaysRequired": false,
"referenceName": "System.AreaPath",
"name": "Area Path",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.RevisedDate",
"name": "Revised Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.ChangedDate",
"name": "Changed Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Id",
"name": "ID",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": true,
"referenceName": "System.AreaId",
"name": "Area ID",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AuthorizedAs",
"name": "Authorized As",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Stories affected and how",
"alwaysRequired": true,
"referenceName": "System.Title",
"name": "Title",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "New = for triage; Active = not yet fixed; Resolved = fixed not yet verified; Closed = fix verified.",
"alwaysRequired": true,
"referenceName": "System.State",
"name": "State",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AuthorizedDate",
"name": "Authorized Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Watermark",
"name": "Watermark",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Rev",
"name": "Rev",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.ChangedBy",
"name": "Changed By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The reason why the bug is in the current state",
"alwaysRequired": false,
"referenceName": "System.Reason",
"name": "Reason",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The person currently working on this bug",
"alwaysRequired": false,
"referenceName": "System.AssignedTo",
"name": "Assigned To",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.WorkItemType",
"name": "Work Item Type",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.CreatedDate",
"name": "Created Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.CreatedBy",
"name": "Created By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Description",
"name": "Description",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Discussion thread plus automatic record of changes",
"alwaysRequired": false,
"referenceName": "System.History",
"name": "History",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.RelatedLinkCount",
"name": "Related Link Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Tags",
"name": "Tags",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BoardColumn",
"name": "Board Column",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BoardColumnDone",
"name": "Board Column Done",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BoardLane",
"name": "Board Lane",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The size of work estimated for fixing the bug",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.StoryPoints",
"name": "Story Points",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "An estimate of the number of units of work remaining to complete this bug",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.RemainingWork",
"name": "Remaining Work",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Initial value for Remaining Work - set once, when work begins",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.OriginalEstimate",
"name": "Original Estimate",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The number of units of work that have been spent on this bug",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.CompletedWork",
"name": "Completed Work",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Type of work involved",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.Activity",
"name": "Activity",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Test context, provided automatically by test infrastructure",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.TCM.SystemInfo",
"name": "System Info",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "How to see the bug. End by contrasting expected with actual behavior.",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.TCM.ReproSteps",
"name": "Repro Steps",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.StateChangeDate",
"name": "State Change Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ActivatedDate",
"name": "Activated Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ActivatedBy",
"name": "Activated By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ResolvedDate",
"name": "Resolved Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ResolvedBy",
"name": "Resolved By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The reason why the bug was resolved",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ResolvedReason",
"name": "Resolved Reason",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ClosedDate",
"name": "Closed Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ClosedBy",
"name": "Closed By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Business importance. 1=must fix; 4=unimportant.",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.Priority",
"name": "Priority",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Assessment of the effect of the bug on the project",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.Severity",
"name": "Severity",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Work first on items with lower-valued stack rank. Set in triage.",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.StackRank",
"name": "Stack Rank",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The type should be set to Business primarily to represent customer-facing issues. Work to change the architecture should be added as a User Story",
"alwaysRequired": true,
"referenceName": "Microsoft.VSTS.Common.ValueArea",
"name": "Value Area",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The build in which the bug was fixed",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Build.IntegrationBuild",
"name": "Integration Build",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The build in which the bug was found",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Build.FoundIn",
"name": "Found In",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AttachedFiles",
"name": "Attached Files",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.RelatedLinks",
"name": "Related Links",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.LinkedFiles",
"name": "Linked Files",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BISLinks",
"name": "BIS Links",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
}
],
"fieldInstances": [
{
"helpText": "The iteration within which this bug will be fixed",
"alwaysRequired": false,
"referenceName": "System.IterationPath",
"name": "Iteration Path",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": true,
"referenceName": "System.IterationId",
"name": "Iteration ID",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.ExternalLinkCount",
"name": "External Link Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.TeamProject",
"name": "Team Project",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.HyperLinkCount",
"name": "Hyperlink Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AttachedFileCount",
"name": "Attached File Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.NodeName",
"name": "Node Name",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The area of the product with which this bug is associated",
"alwaysRequired": false,
"referenceName": "System.AreaPath",
"name": "Area Path",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.RevisedDate",
"name": "Revised Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.ChangedDate",
"name": "Changed Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Id",
"name": "ID",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": true,
"referenceName": "System.AreaId",
"name": "Area ID",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AuthorizedAs",
"name": "Authorized As",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Stories affected and how",
"alwaysRequired": true,
"referenceName": "System.Title",
"name": "Title",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "New = for triage; Active = not yet fixed; Resolved = fixed not yet verified; Closed = fix verified.",
"alwaysRequired": true,
"referenceName": "System.State",
"name": "State",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AuthorizedDate",
"name": "Authorized Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Watermark",
"name": "Watermark",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Rev",
"name": "Rev",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.ChangedBy",
"name": "Changed By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The reason why the bug is in the current state",
"alwaysRequired": false,
"referenceName": "System.Reason",
"name": "Reason",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The person currently working on this bug",
"alwaysRequired": false,
"referenceName": "System.AssignedTo",
"name": "Assigned To",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.WorkItemType",
"name": "Work Item Type",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.CreatedDate",
"name": "Created Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.CreatedBy",
"name": "Created By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Description",
"name": "Description",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Discussion thread plus automatic record of changes",
"alwaysRequired": false,
"referenceName": "System.History",
"name": "History",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.RelatedLinkCount",
"name": "Related Link Count",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.Tags",
"name": "Tags",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BoardColumn",
"name": "Board Column",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BoardColumnDone",
"name": "Board Column Done",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BoardLane",
"name": "Board Lane",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The size of work estimated for fixing the bug",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.StoryPoints",
"name": "Story Points",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "An estimate of the number of units of work remaining to complete this bug",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.RemainingWork",
"name": "Remaining Work",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Initial value for Remaining Work - set once, when work begins",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.OriginalEstimate",
"name": "Original Estimate",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The number of units of work that have been spent on this bug",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Scheduling.CompletedWork",
"name": "Completed Work",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Type of work involved",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.Activity",
"name": "Activity",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Test context, provided automatically by test infrastructure",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.TCM.SystemInfo",
"name": "System Info",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "How to see the bug. End by contrasting expected with actual behavior.",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.TCM.ReproSteps",
"name": "Repro Steps",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.StateChangeDate",
"name": "State Change Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ActivatedDate",
"name": "Activated Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ActivatedBy",
"name": "Activated By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ResolvedDate",
"name": "Resolved Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ResolvedBy",
"name": "Resolved By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The reason why the bug was resolved",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ResolvedReason",
"name": "Resolved Reason",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ClosedDate",
"name": "Closed Date",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.ClosedBy",
"name": "Closed By",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Business importance. 1=must fix; 4=unimportant.",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.Priority",
"name": "Priority",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Assessment of the effect of the bug on the project",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.Severity",
"name": "Severity",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "Work first on items with lower-valued stack rank. Set in triage.",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Common.StackRank",
"name": "Stack Rank",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The type should be set to Business primarily to represent customer-facing issues. Work to change the architecture should be added as a User Story",
"alwaysRequired": true,
"referenceName": "Microsoft.VSTS.Common.ValueArea",
"name": "Value Area",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The build in which the bug was fixed",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Build.IntegrationBuild",
"name": "Integration Build",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"helpText": "The build in which the bug was found",
"alwaysRequired": false,
"referenceName": "Microsoft.VSTS.Build.FoundIn",
"name": "Found In",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.AttachedFiles",
"name": "Attached Files",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.RelatedLinks",
"name": "Related Links",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.LinkedFiles",
"name": "Linked Files",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
},
{
"alwaysRequired": false,
"referenceName": "System.BISLinks",
"name": "BIS Links",
"url": "https://dev.azure.com/fabrikam/_apis/wit/fields"
}
],
"transitions": {
"Active": [
{
"to": "Active",
"actions": null
},
{
"to": "Closed",
"actions": null
},
{
"to": "Resolved",
"actions": [
"Microsoft.VSTS.Actions.Checkin"
]
},
{
"to": "New",
"actions": [
"Microsoft.VSTS.Actions.StopWork"
]
}
],
"Closed": [
{
"to": "Closed",
"actions": null
},
{
"to": "Resolved",
"actions": null
},
{
"to": "Active",
"actions": null
},
{
"to": "New",
"actions": null
}
],
"New": [
{
"to": "New",
"actions": null
},
{
"to": "Closed",
"actions": null
},
{
"to": "Resolved",
"actions": [
"Microsoft.VSTS.Actions.Checkin"
]
},
{
"to": "Active",
"actions": [
"Microsoft.VSTS.Actions.StartWork"
]
}
],
"Resolved": [
{
"to": "Resolved",
"actions": null
},
{
"to": "Closed",
"actions": null
},
{
"to": "Active",
"actions": null
},
{
"to": "New",
"actions": null
}
],
"": [
{
"to": "New",
"actions": null
}
]
},
"_links": {
"self": {
"href": "https://dev.azure.com/fabrikam/66ebcf8f-1006-4819-be8b-d420d9ecb202/_apis/wit/workItemTypes/Bug"
}
},
"url": "https://dev.azure.com/fabrikam/66ebcf8f-1006-4819-be8b-d420d9ecb202/_apis/wit/workItemTypes/Bug"
}
Definizioni
Nome | Descrizione |
---|---|
Reference |
Classe per rappresentare una raccolta di collegamenti di riferimento REST. |
Work |
Riferimento a un campo in un elemento di lavoro |
Work |
Riferimento a un'icona dell'elemento di lavoro. |
Work |
Descrive un tipo di elemento di lavoro. |
Work |
Istanza del campo di un tipo di elemento di lavoro. |
ReferenceLinks
Classe per rappresentare una raccolta di collegamenti di riferimento REST.
Nome | Tipo | Descrizione |
---|---|---|
links |
object |
Visualizzazione di sola lettura dei collegamenti. Poiché i collegamenti di riferimento sono di sola lettura, è consigliabile esporli solo come di sola lettura. |
WorkItemFieldReference
Riferimento a un campo in un elemento di lavoro
Nome | Tipo | Descrizione |
---|---|---|
name |
string |
Nome del campo. |
referenceName |
string |
Nome di riferimento del campo. |
url |
string |
URL REST della risorsa. |
WorkItemIcon
Riferimento a un'icona dell'elemento di lavoro.
Nome | Tipo | Descrizione |
---|---|---|
id |
string |
Identificatore dell'icona. |
url |
string |
URL REST della risorsa. |
WorkItemType
Descrive un tipo di elemento di lavoro.
Nome | Tipo | Descrizione |
---|---|---|
_links |
Collegare i riferimenti alle risorse REST correlate. |
|
color |
string |
Colore di ombreggiatura. |
description |
string |
Descrizione del tipo di elemento di lavoro. |
fieldInstances |
Campi presenti nel tipo di elemento di lavoro. |
|
fields |
Campi presenti nel tipo di elemento di lavoro. |
|
icon |
Icona del tipo di elemento di lavoro. |
|
isDisabled |
boolean |
True se il tipo di elemento di lavoro è disabilitato |
name |
string |
Ottiene il nome del tipo di elemento di lavoro. |
referenceName |
string |
Nome di riferimento del tipo di elemento di lavoro. |
transitions |
object |
Ottiene i vari mapping di transizione dello stato nel tipo di elemento di lavoro. |
url |
string |
|
xmlForm |
string |
Modulo XML. |
WorkItemTypeFieldInstance
Istanza del campo di un tipo di elemento di lavoro.
Nome | Tipo | Descrizione |
---|---|---|
allowedValues |
string[] |
Elenco dei valori consentiti del campo. |
alwaysRequired |
boolean |
Indica se il valore del campo è sempre obbligatorio. |
defaultValue |
string |
Rappresenta il valore predefinito del campo. |
dependentFields |
Elenco di campi dipendenti. |
|
helpText |
string |
Ottiene il testo della Guida per il campo. |
name |
string |
Nome del campo. |
referenceName |
string |
Nome di riferimento del campo. |
url |
string |
URL REST della risorsa. |