RelatedEntity
Represents a related entity.
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.
XML
JSON
<relatedEntity internalId="string" text="string" type="string" unknown="true">
<build artifactsDirectory="/Users/John.Doe/.BuildServer/system/artifacts/ProjectName/ConfigName/1337" branchName="sandbox" buildTypeId="ProjectName_BuildConfName" buildTypeInternalId="string" chainModificationId="string" changesCollectingInProgress="false" composite="false" currentSettingsHash="string" customized="true" defaultBranch="true" detachedFromAgent="false" failedToStart="true" finishDate="20240408T162702+0200" finishEstimate="20240409T160130+0200" finishOnAgentDate="20240408T162702+0200" history="true" href="/app/rest/builds/id:8006" id="8134" limitedChangesCount="3" locator="string" modificationId="string" number="54" percentageComplete="123" personal="true" pinned="true" queuePosition="2" queuedDate="20240408T162059+0200" running="true" settingsHash="string" startDate="20240408T162559+0200" startEstimate="20240409T155123+0200" state="queued" status="SUCCESS" statusText="Tests passed: 5, muted: 1" taskId="123456789" unspecifiedBranch="false" usedByOtherBuilds="true" waitReason="There are no idle compatible agents which can run this build" webUrl="https://example.com/app/rest/builds/id:8006">
<links>links...</links>
<buildType>buildType...</buildType>
<comment>comment...</comment>
<tags>tags...</tags>
<pinInfo>comment...</pinInfo>
<user>user...</user>
<delayedByBuild>build...</delayedByBuild>
<plannedAgent>agent...</plannedAgent>
<approvalInfo>approvalInfo...</approvalInfo>
<running-info>progress-info...</running-info>
<canceledInfo>comment...</canceledInfo>
<triggered>TriggeredBy...</triggered>
<lastChanges>changes...</lastChanges>
<changes>changes...</changes>
<revisions>Revisions...</revisions>
<versionedSettingsRevision>Revision...</versionedSettingsRevision>
<artifactDependencyChanges>buildChanges...</artifactDependencyChanges>
<agent>agent...</agent>
<compatibleAgents>agents...</compatibleAgents>
<compatibleCloudImages>cloudImages...</compatibleCloudImages>
<testOccurrences>testOccurrences...</testOccurrences>
<problemOccurrences>problemOccurrences...</problemOccurrences>
<artifacts>files...</artifacts>
<relatedIssues>issuesUsages...</relatedIssues>
<properties>properties...</properties>
<resultingProperties>properties...</resultingProperties>
<originalProperties>properties...</originalProperties>
<startProperties>properties...</startProperties>
<attributes>entries...</attributes>
<statistics>properties...</statistics>
<metadata>datas...</metadata>
<snapshot-dependencies>builds...</snapshot-dependencies>
<artifact-dependencies>builds...</artifact-dependencies>
<custom-artifact-dependencies>artifact-dependencies...</custom-artifact-dependencies>
<replacementIds>items...</replacementIds>
<related>related...</related>
<triggeringOptions>buildTriggeringOptions...</triggeringOptions>
<statusChangeComment>comment...</statusChangeComment>
<vcsLabels>vcsLabel...</vcsLabels>
<customization>customizations...</customization>
<queuedWaitReasons>properties...</queuedWaitReasons>
<downloadedArtifacts>downloadedArtifacts...</downloadedArtifacts>
<matrixConfiguration>MatrixConfiguration...</matrixConfiguration>
<firstBuildWithSameChanges>build...</firstBuildWithSameChanges>
</build>
<buildType description="string" externalStatusAllowed="true" href="string" id="string" inherited="true" internalId="string" locator="string" name="string" paused="true" projectId="string" projectInternalId="string" projectName="string" templateFlag="true" type="string" uuid="string" webUrl="string">
<links>links...</links>
<project>project...</project>
<templates>buildTypes...</templates>
<template>buildType...</template>
<vcs-root-entries>vcs-root-entries...</vcs-root-entries>
<settings>properties...</settings>
<parameters>properties...</parameters>
<steps>steps...</steps>
<features>features...</features>
<triggers>triggers...</triggers>
<snapshot-dependencies>snapshot-dependencies...</snapshot-dependencies>
<artifact-dependencies>artifact-dependencies...</artifact-dependencies>
<agent-requirements>agent-requirements...</agent-requirements>
<branches>branches...</branches>
<builds>builds...</builds>
<investigations>investigations...</investigations>
<compatibleAgents>agents...</compatibleAgents>
<compatibleCloudImages>cloudImages...</compatibleCloudImages>
<vcsRootInstances>vcs-root-instances...</vcsRootInstances>
<pauseComment>comment...</pauseComment>
</buildType>
<project archived="true" description="string" href="string" id="string" internalId="string" locator="string" name="string" parentProjectId="string" parentProjectInternalId="string" parentProjectName="string" uuid="string" virtual="true" webUrl="string">
<links>links...</links>
<parentProject>project...</parentProject>
<readOnlyUI>StateField...</readOnlyUI>
<defaultTemplate>buildType...</defaultTemplate>
<buildTypes>buildTypes...</buildTypes>
<templates>buildTypes...</templates>
<deploymentDashboards>deploymentDashboards...</deploymentDashboards>
<parameters>properties...</parameters>
<vcsRoots>vcs-roots...</vcsRoots>
<projectFeatures>projectFeatures...</projectFeatures>
<projects>projects...</projects>
<cloudProfiles>cloudProfiles...</cloudProfiles>
<ancestorProjects>projects...</ancestorProjects>
</project>
<user email="string" enabled2FA="true" hasPassword="true" href="string" id="123456789" lastLogin="string" locator="string" name="string" password="string" realm="string" username="string">
<properties>properties...</properties>
<roles>roles...</roles>
<groups>groups...</groups>
<avatars>userAvatars...</avatars>
</user>
<group description="string" href="string" key="string" name="string">
<parent-groups>groups...</parent-groups>
<child-groups>groups...</child-groups>
<users>users...</users>
<roles>roles...</roles>
<properties>properties...</properties>
</group>
<test href="string" id="string" locator="string" name="string">
<mutes>mutes...</mutes>
<investigations>investigations...</investigations>
<testOccurrences>testOccurrences...</testOccurrences>
<parsedTestName>ParsedTestName...</parsedTestName>
</test>
<problem description="string" href="string" id="string" identity="string" locator="string" type="string">
<mutes>mutes...</mutes>
<investigations>investigations...</investigations>
<problemOccurrences>problemOccurrences...</problemOccurrences>
</problem>
<agent authorized="true" connected="true" cpuRank="123" currentAgentVersion="string" disconnectionComment="string" enabled="true" host="string" href="string" id="123" idleSinceTime="string" ip="string" javaOutdated="true" lastActivityTime="string" locator="string" name="string" outdated="true" pluginsOutdated="true" port="123" protocol="string" registrationTimestamp="string" typeId="123" uptodate="true" version="string" webUrl="string">
<build>build...</build>
<links>links...</links>
<enabledInfo>enabledInfo...</enabledInfo>
<authorizedInfo>authorizedInfo...</authorizedInfo>
<properties>properties...</properties>
<cloudInstance>cloudInstance...</cloudInstance>
<cloudImage>cloudImage...</cloudImage>
<environment>environment...</environment>
<pool>agentPool...</pool>
<compatibilityPolicy>compatibilityPolicy...</compatibilityPolicy>
<compatibleBuildTypes>buildTypes...</compatibleBuildTypes>
<incompatibleBuildTypes>compatibilities...</incompatibleBuildTypes>
<builds>builds...</builds>
</agent>
<vcsRoot href="string" id="string" internalId="string" locator="string" modificationCheckInterval="123" name="string" projectLocator="string" uuid="string" vcsName="string">
<project>project...</project>
<properties>properties...</properties>
<vcsRootInstances>vcs-root-instances...</vcsRootInstances>
<repositoryIdStrings>items...</repositoryIdStrings>
</vcsRoot>
<change canEditComment="true" comment="string" date="string" href="string" id="123456789" internalVersion="string" locator="string" personal="true" registrationDate="string" storesProjectSettings="true" type="string" username="string" version="string" webUrl="string">
<user>user...</user>
<snapshotDependencyLink>SnapshotDependencyLink...</snapshotDependencyLink>
<files>fileChanges...</files>
<vcsRootInstance>vcs-root-instance...</vcsRootInstance>
<parentChanges>changes...</parentChanges>
<parentRevisions>items...</parentRevisions>
<attributes>properties...</attributes>
<status>ChangeStatus...</status>
<commiter>commiter...</commiter>
</change>
<agentPool href="string" id="123" locator="string" maxAgents="123" name="string">
<ownerProject>project...</ownerProject>
<projects>projects...</projects>
<agents>agents...</agents>
<agentTypes>agentTypes...</agentTypes>
</agentPool>
</relatedEntity>
{
"agent" : "agent...",
"vcsRoot" : "vcs-root...",
"test" : "test...",
"change" : "change...",
"project" : "project...",
"type" : "type",
"unknown" : true,
"internalId" : "internalId",
"problem" : "problem...",
"build" : "build...",
"buildType" : "buildType...",
"text" : "text",
"agentPool" : "agentPool...",
"user" : "user...",
"group" : "group..."
}
Thanks for your feedback!
Was this page helpful?