TeamCity REST API Reference 2023.05 Help

ProblemTarget

Represents an investigation target.

Properties

Field

Data 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" : 1, "myTestCounters" : { "all" : 9, "duration" : 7, "ignored" : 4, "newFailed" : 0, "success" : 0, "failed" : 7, "muted" : 9 }, "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" : 5, "prevHref" : "prevHref", "nextHref" : "nextHref" } }
Last modified: 22 May 2023