OBJECT
removeTestsFromPrecondition
link GraphQL Schema definition
1 Mutation removeTestsFromPrecondition { 2 3 # Mutation used to remove Tests from the Precondition. One of testIssueIds or tests is required. 4 # 5 # 6 # Arguments 7 # issueId: the issue id of the Precondition. 8 # testIssueIds: the issue ids of the Tests. Will remove the default Test versions. Cannot be used with tests. 9 # tests: the ids of the Test versions. Cannot be used with testIssueIds. 10 (: String!, : [String], : [TestWithVersionInput]): String 11 12 }
link Example
The mutation below will remove the Tests with issue id "54321" and "67890" from the Precondition "12345".
mutation {
removeTestsFromPrecondition(issueId: "12345", testIssueIds: ["54321", "67890"])
}
The mutation below will remove the version 2 of Test "54321" and the version 3 of Test "67890" from the Precondition "12345".
mutation {
removeTestsFromPrecondition(
issueId: "12345",
tests: [{ issueId: "54321", versionId: 2 }, { issueId: "67890", versionId: 3 }]
)
}