OBJECT

addTestStep

link GraphQL Schema definition

1Mutation addTestStep {
2
3# Mutation used to add a Step to a Test.
4#
5# Arguments
6# issueId: the issue id of the Test.
7# step: the Step to add to the Test.
8addTestStep(issueId: String!, step: CreateStepInput!): Step
9
10}

link Example

The mutation below will add a new Step to the test with id "12345".

mutation {
    addTestStep(
        issueId: "12345",
        step: {
            action: "Use Xray Cloud Rest Api to add a new Step to the Test",
            result: "Step was added to the Test",
            customFields: [{id:"5ddc0e585da9670010e608dc", value:"Tokyo"}]
        }
    ) {
        id
        action
        data
        result
    }
}