跳到主要内容

Create execution case

This event is emitted when a test case is added to a test plan and a new execution case is created. An existing execution case reused by an idempotent request does not trigger this event again.

Event Body​

Execution Case Event Schema

Common structure

eventData

FieldTypeDescription
organizationIDstringOrganization that triggered the event.
teamIDstringTeam that triggered the event.
triggerUserIDstringUser that created the execution case.
executionCaseIDstringID of the execution case.
planIssueIDstringID of the test plan issue.
sourceCaseIssueIDstringID of the source test case issue.
sourceVersionIDstringSource test case version used by execution case.

Example​

{
"eventID": "Re6FSci9-1786000000000000001",
"eventType": "ones:test:execution_case:created",
"timestamp": 1786000000000,
"subscriberID": "Re6FSci9",
"eventData": {
"organizationID": "mkobhu1u",
"teamID": "7A6aGmBc",
"triggerUserID": "U1esfPni",
"executionCaseID": "EC9HnuB1",
"planIssueID": "PLAN9Hnu",
"sourceCaseIssueID": "CASE9Hnu",
"sourceVersionID": "VER9HnuB"
}
}