OBJECT

removeAllTestSteps

link GraphQL Schema definition

1Mutation removeAllTestSteps {
2
3# Mutation used to remove all Steps from a Test.
4#
5#
6# Arguments
7# issueId: the id of the Step.
8# versionId: the id of a Test version. If not given, will update the default Test version.
9removeAllTestSteps(issueId: String!, versionId: Int): String
10
11}

link Example

The mutation below removes all the Steps from test with id "12345".

mutation {
    removeAllTestSteps(
        issueId: "12345",
    )
}

The mutation below removes all the Steps from the version 3 of the Test with id "12345".

mutation {
    removeAllTestSteps(
        issueId: "12345",
        versionId: 3
    )
}