OBJECT

addPreconditionsToTest

link GraphQL Schema definition

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

link Example

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

mutation {
    addPreconditionsToTest(
        issueId: "12345",
        preconditionIssueIds: ["54321"]
    ) {
        addedPreconditions
        warning
    }
}