OBJECT

createTestExecution

link GraphQL Schema definition

1Mutation createTestExecution {
2
3# Mutation used to create a new Test Execution.
4#
5# Arguments
6# testIssueIds: the test issue ids that will be associated with the Test Execution.
7# testEnvironments: the test environments to be added to the Test Execution.
8# jira: the Jira object that will be used to create the Test Execution.
9# Check this Jira endpoint for more information related with this field.
10createTestExecution(testIssueIds: [String], testEnvironments: [String], jira: JSON!): CreateTestExecutionResult
11
12}

link Example

The mutation below will create a new Test Execution.

mutation {
    createTestExecution(
        testIssueIds: ["54321"]
        testEnvironments: ["android"]
        jira: {
            fields: { summary: "Test Execution for CALC-123", project: {key: "CALC"} }
        }
    ) {
        testExecution {
            issueId
            jira(fields: ["key"])
        }
        warnings
        createdTestEnvironments
    }
}