Change
Represents a VCS change (commit).
Related Help article: Change
Field | Data type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| |
| |
| |
| |
| |
| |
|
|
| |
| |
|
|
|
|
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.
<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 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>
<snapshotDependencyLink buildTypeBranch="string">
<build>build...</build>
<buildType>buildType...</buildType>
</snapshotDependencyLink>
<files count="123">
<file>FileChange...</file>
</files>
<vcsRootInstance commitHookMode="true" href="string" id="string" lastVersion="string" lastVersionInternal="string" modificationCheckInterval="123" name="string" projectLocator="string" vcs-root-id="string" vcsName="string" vcsRootInternalId="string">
<vcs-root>vcs-root...</vcs-root>
<status>vcsStatus...</status>
<repositoryState>repositoryState...</repositoryState>
<properties>properties...</properties>
<repositoryIdStrings>items...</repositoryIdStrings>
</vcsRootInstance>
<parentChanges count="123" href="string" nextHref="string" prevHref="string">
<change>change...</change>
</parentChanges>
<parentRevisions item="string"/>
<attributes count="123" href="string">
<property>property...</property>
</attributes>
<status cancelledBuilds="123" failedBuilds="123" finishedBuilds="123" newFailedTests="123" otherFailedTests="123" pendingBuildTypes="123" queuedBuildsCount="123" runningBuilds="123" runningSuccessfullyBuilds="123" successfulBuilds="123" totalProblems="123">
<criticalBuilds>builds...</criticalBuilds>
<notCriticalBuilds>builds...</notCriticalBuilds>
<newTestsFailedBuilds>builds...</newTestsFailedBuilds>
<compilationErrorBuilds>builds...</compilationErrorBuilds>
</status>
<commiter vcsUsername="string">
<users>users...</users>
</commiter>
</change>
{
"date" : "date",
"vcsRootInstance" : "vcs-root-instance...",
"canEditComment" : true,
"personal" : true,
"storesProjectSettings" : true,
"type" : "type",
"version" : "version",
"snapshotDependencyLink" : "SnapshotDependencyLink...",
"webUrl" : "webUrl",
"registrationDate" : "registrationDate",
"files" : "fileChanges...",
"parentRevisions" : "items...",
"internalVersion" : "internalVersion",
"comment" : "comment",
"attributes" : "properties...",
"id" : 7,
"href" : "href",
"user" : "user...",
"commiter" : "commiter...",
"locator" : "locator",
"parentChanges" : "changes...",
"username" : "username",
"status" : "ChangeStatus..."
}
Thanks for your feedback!