Sdílet prostřednictvím


Work Item Types - Get

Vrátí definici typu pracovní položky.

GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypes/{type}?api-version=7.1-preview.2

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
organization
path True

string

Název organizace Azure DevOps.

project
path True

string

ID projektu nebo název projektu

type
path True

string

Název typu pracovní položky

api-version
query True

string

Verze rozhraní API, která se má použít. Tato verze rozhraní API by měla být nastavená na 7.1-preview.2.

Odpovědi

Name Typ Description
200 OK

WorkItemType

úspěšná operace

Zabezpečení

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

Name Description
vso.work Umožňuje číst pracovní položky, dotazy, panely, cesty oblastí a iterací a další metadata související se sledováním pracovních položek. Poskytuje také možnost spouštět dotazy, vyhledávat pracovní položky a přijímat oznámení o událostech pracovních položek prostřednictvím volání služeb.

Příklady

Sample Request

GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/wit/workitemtypes/{type}?api-version=7.1-preview.2

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&amp;gned To\" LabelPosition=\"Left\" FieldName=\"System.AssignedTo\" Type=\"FieldControl\" EmptyText=\"Unassigned\" /><Control Label=\"Stat&amp;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=\"&amp;Area\" LabelPosition=\"Left\" FieldName=\"System.AreaPath\" Type=\"WorkItemClassificationControl\" /><Control Label=\"Ite&amp;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"
}

Definice

Name Description
ReferenceLinks

Třída představující kolekci odkazů REST.

WorkItemFieldReference

Odkaz na pole v pracovní položce

WorkItemIcon

Odkaz na ikonu pracovní položky

WorkItemStateColor

Název, barva a kategorie stavu typu pracovní položky

WorkItemType

Popisuje typ pracovní položky.

WorkItemTypeFieldInstance

Instance pole typu pracovní položky.

Třída představující kolekci odkazů REST.

Name Typ Description
links

object

Zobrazení odkazů jen pro čtení. Vzhledem k tomu, že odkazy jsou jen pro čtení, chceme je zveřejnit jenom jako odkazy jen pro čtení.

WorkItemFieldReference

Odkaz na pole v pracovní položce

Name Typ Description
name

string

Popisný název pole

referenceName

string

Název odkazu pole.

url

string

Adresa URL REST prostředku.

WorkItemIcon

Odkaz na ikonu pracovní položky

Name Typ Description
id

string

Identifikátor ikony.

url

string

Adresa URL REST prostředku.

WorkItemStateColor

Název, barva a kategorie stavu typu pracovní položky

Name Typ Description
category

string

Kategorie stavu

color

string

Hodnota barvy

name

string

Název stavu typu pracovní položky

WorkItemType

Popisuje typ pracovní položky.

Name Typ Description
_links

ReferenceLinks

Odkazy na související prostředky REST.

color

string

Barva.

description

string

Popis typu pracovní položky

fieldInstances

WorkItemTypeFieldInstance[]

Pole, která existují pro typ pracovní položky.

fields

WorkItemTypeFieldInstance[]

Pole, která existují pro typ pracovní položky.

icon

WorkItemIcon

Ikona typu pracovní položky.

isDisabled

boolean

True, pokud je typ pracovní položky zakázaný

name

string

Získá název typu pracovní položky.

referenceName

string

Název odkazu typu pracovní položky.

states

WorkItemStateColor[]

Získá informace o stavu pro typ pracovní položky.

transitions

object

Získá různé přechodové mapování stavu v typu pracovní položky.

url

string

xmlForm

string

Formulář XML.

WorkItemTypeFieldInstance

Instance pole typu pracovní položky.

Name Typ Description
allowedValues

string[]

Seznam povolených hodnot polí

alwaysRequired

boolean

Určuje, jestli je hodnota pole vždy povinná.

defaultValue

string

Představuje výchozí hodnotu pole.

dependentFields

WorkItemFieldReference[]

Seznam závislých polí.

helpText

string

Získá text nápovědy pro pole.

name

string

Popisný název pole

referenceName

string

Název odkazu pole.

url

string

Adresa URL REST prostředku.