OBJECT

addTestsToPrecondition

link GraphQL Schema definition

1Mutation addTestsToPrecondition {
2
3# Mutation used to associate Tests to the Precondition.
4# Note: The Tests to be associated with the Precondition must be of the same Test Type of the Precondition.
5#
6# Arguments
7# issueId: the issue id of the Precondition.
8# testIssueIds: the issue ids of the Tests.
9addTestsToPrecondition(issueId: String!, testIssueIds: [String]!): AddTestsResult
10
11}

link Example

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

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