TeamCity 2021.1 Help

ProblemTarget

Represents an investigation target.

Properties

FieldData type

anyProblem

boolean

tests

Tests

problems

Problems

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<ProblemTarget anyProblem="true"> <tests count="123" nextHref="string" prevHref="string"> <myTestCounters>[[[testCounters...|testcounters.html]]]</myTestCounters> <test>[[[test...|test.html]]]</test> </tests> <problems count="123" nextHref="string" prevHref="string"> <problem>[[[problem...|problem.html]]]</problem> </problems> </ProblemTarget>
{ "tests" : { "test" : [ { "testOccurrences" : "[[[testOccurrences...|testoccurrences.html]]]", "name" : "name", "investigations" : "[[[investigations...|investigations.html]]]", "parsedTestName" : "[[[ParsedTestName...|parsedtestname.html]]]", "id" : "id", "href" : "href", "mutes" : "[[[mutes...|mutes.html]]]", "locator" : "locator" } ], "count" : 4, "myTestCounters" : { "all" : 7, "duration" : 3, "ignored" : 8, "newFailed" : 5, "success" : 3, "failed" : 7, "muted" : 3 }, "prevHref" : "prevHref", "nextHref" : "nextHref" }, "anyProblem" : true, "problems" : { "problem" : [ { "problemOccurrences" : "[[[problemOccurrences...|problemoccurrences.html]]]", "identity" : "identity", "description" : "description", "investigations" : "[[[investigations...|investigations.html]]]", "id" : "id", "href" : "href", "type" : "type", "mutes" : "[[[mutes...|mutes.html]]]", "locator" : "locator" } ], "count" : 4, "prevHref" : "prevHref", "nextHref" : "nextHref" } }
Last modified: 09 March 2021