跳到主要内容

Source test case changed

This event is emitted for each eligible execution case when a new source test case version contains a relevant content change, even if the execution case's source change status remains unchanged.

sourceChangeStatus describes the classification of this source version. For example, a priority change emits a weak event while an existing stored strong status remains unchanged. Existing weak and strong statuses do not suppress later version events.

Versions that only add or remove execution records do not trigger this event. Already acknowledged versions, execution cases added in the same version, and plans outside the to-do or in-progress categories remain excluded. Delivery may be retried; subscribers can deduplicate a source change using executionCaseID + sourceVersionID.

Event Body​

Execution Case Event Schema

Common structure

eventData

FieldTypeDescription
organizationIDstringOrganization that triggered the event.
teamIDstringTeam that triggered the event.
triggerUserIDstringUser that changed the source test case. May be omitted for a system-triggered change.
executionCaseIDstringID of the execution case.
planIssueIDstringID of the test plan issue containing the execution case.
sourceCaseIssueIDstringID of the changed source test case issue.
sourceVersionIDstringID of the source test case version that triggered the source change.
sourceChangeStatusstringClassification of this source version: weak or strong, rather than the execution case's accumulated status.

Example​

{
"eventID": "Re6FSci9-1786000000000000004",
"eventType": "ones:test:execution_case:source_changed",
"timestamp": 1786000003000,
"subscriberID": "Re6FSci9",
"eventData": {
"organizationID": "mkobhu1u",
"teamID": "7A6aGmBc",
"triggerUserID": "U1esfPni",
"executionCaseID": "EC9HnuB1",
"planIssueID": "PLAN9Hnu",
"sourceCaseIssueID": "CASE9Hnu",
"sourceVersionID": "VER9HnuC",
"sourceChangeStatus": "strong"
}
}