OBJECT

addTestPlansToTest

link GraphQL Schema definition

1Mutation addTestPlansToTest {
2
3# Mutation used to associate Test Plans to the Test.
4#
5# Arguments
6# issueId: the issue id of the Test.
7# testPlanIssueIds: the issue ids of the Test Plans.
8addTestPlansToTest(issueId: String!, testPlanIssueIds: [String]!): AddTestPlansResult
9
10}

link Example

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

mutation {
    addTestPlansToTest(
        issueId: "12345",
        testPlanIssueIds: ["54321"]
    ) {
        addedTestPlans
        warning
    }
}