OBJECT
updatePrecondition
link GraphQL Schema definition
1 Mutation updatePrecondition { 2 3 # Mutation used to update a Precondition 4 # 5 # 6 # Arguments 7 # issueId: the issue id of the Precondition. 8 # data: the object containing the information to update the Precondition. 9 (: String!, : UpdatePreconditionInput): Precondition 10 11 }
link Example
The mutation below will update the Precondition with id "49137"
mutation {
updatePrecondition(
issueId: "49137",
data: { preconditionType: {name: "Manual" }, definition: "Turn on calculator" }
) {
issueId
preconditionType {
kind
name
}
definition
}
}
The mutation below will update the Precondition with id "12345" and move it to the specified folder
mutation {
updatePrecondition(
issueId: "12345",
data: { folderPath: "/generic" }
) {
issueId
preconditionType {
kind
name
}
definition
}
}