OBJECT

addTestExecutionsToTest

link GraphQL Schema definition

1Mutation addTestExecutionsToTest {
2
3# Mutation used to associate Test Executions to the Test.
4#
5#
6# Arguments
7# issueId: the issue id of the Test.
8# versionId: the id of a Test version. If not given, will update the default Test version.
9# testExecIssueIds: the issue ids of the Test Executions.
10addTestExecutionsToTest(issueId: String!, versionId: Int, testExecIssueIds: [String]!): AddTestExecutionsResult
11
12}

link Example

The mutation below will associate the Test Execution with issue id "54321" to the Test "12345".

mutation {
    addTestExecutionsToTest(
        issueId: "12345",
        testExecIssueIds: ["54321"]
    ) {
        addedTestExecutions
        warning
    }
}

The mutation below will associate the Test Execution with issue id "54321" to version 3 of the Test "12345".

mutation {
    addTestExecutionsToTest(
        issueId: "12345",
        versionId: 3,
        testExecIssueIds: ["54321"]
    ) {
        addedTestExecutions
        warning
    }
}