OBJECT

addTestsToTestPlan

link GraphQL Schema definition

1Mutation addTestsToTestPlan {
2
3# Mutation used to associate Tests to the Test Plan.
4#
5# Arguments
6# issueId: the issue id of the Test Plan.
7# testIssueIds: the issue ids of the Tests.
8addTestsToTestPlan(issueId: String!, testIssueIds: [String]!): AddTestsResult
9
10}

link Example

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

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