TeamCity REST API Reference 2024.07 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" : 4, "myTestCounters" : { "all" : 9, "duration" : 0, "ignored" : 8, "newFailed" : 8, "success" : 3, "failed" : 9, "muted" : 1 }, "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: 04 July 2024