OBJECT

addTestsToTestExecution

link GraphQL Schema definition

1Mutation addTestsToTestExecution {
2
3# Mutation used to associate Tests to the Test Execution. One of testIssueIds or tests is required.
4#
5# Arguments
6# issueId: the issue id of the Test Execution.
7# testIssueIds: the ids of the Tests. Will associate the default Test versions. Cannot be used with tests.
8# tests: the ids of the Test versions. Cannot be used with testIssueIds.
9addTestsToTestExecution(issueId: String!, testIssueIds: [String], tests: [TestWithVersionInput]): AddTestsResult
10
11}

link Example

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

mutation {
    addTestsToTestExecution(
        issueId: "12345",
        testIssueIds: ["54321"]
    ) {
        addedTests
        warning
    }
}