OBJECT

updatePrecondition

link GraphQL Schema definition

1Mutation updatePrecondition {
2
3# Mutation used to update a Precondition
4#
5# Arguments
6# issueId: the issue id of the Precondition.
7# data: the object containing the information to update the Precondition.
8updatePrecondition(issueId: String!, data: UpdatePreconditionInput): Precondition
9
10}

link Example

The mutation below will update the Precondition with id "12345"

mutation {
    updatePrecondition(
        issueId: "49137",
        data: { preconditionType: {name: "Manual" }, definition: "Turn on calculator" }
    ) {
        issueId
        preconditionType {
            kind
            name
        }
        definition
    }
}