Update JIRA Integrations
The following mutation updates a JIRA Integration:
- Query
- cURL
mutation UpdateJIRAIntegration($jiraIntegrationId: ObjectID!, $name: String, $jiraProjectId: String, $jiraIssueTypeId: String) {
updateJiraIntegration(
input: {
jiraIntegrationId: $jiraIntegrationId
name: $name
jiraProjectId: $jiraProjectId
jiraIssueTypeId: $jiraIssueTypeId
}
) {
jiraIntegration {
id
name
jiraProjectId
jiraIssueTypeId
createdAt
updatedAt
}
}
}
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 UpdateJIRAIntegration($jiraIntegrationId: ObjectID!, $name: String, $jiraProjectId: String, $jiraIssueTypeId: String) { updateJiraIntegration( input: { jiraIntegrationId: $jiraIntegrationId name: $name jiraProjectId: $jiraProjectId jiraIssueTypeId: $jiraIssueTypeId } ) { jiraIntegration { id name jiraProjectId jiraIssueTypeId createdAt updatedAt } } }"}' https://api.lumar.io/graphql