Update Test JIRA Notification Settings
The following mutation updates a test JIRA Notification Settings:
- Query
- cURL
mutation UpdateTestJIRANotificationSettings($testId: ObjectID!, $createJiraTicketOnFailure: Boolean, $jiraTicketCustomNote: String) {
updateTest(input: {
testId: $testId,
createJiraTicketOnFailure: $createJiraTicketOnFailure,
jiraTicketCustomNote: $jiraTicketCustomNote,
}) {
test {
id
createJiraTicketOnFailure
jiraTicketCustomNote
}
}
}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"mutation UpdateTestJIRANotificationSettings($testId: ObjectID!, $createJiraTicketOnFailure: Boolean, $jiraTicketCustomNote: String) { updateTest(input: { testId: $testId, createJiraTicketOnFailure: $createJiraTicketOnFailure, jiraTicketCustomNote: $jiraTicketCustomNote, }) { test { id createJiraTicketOnFailure jiraTicketCustomNote } } }"}' https://api.lumar.io/graphql