Unink JIRA Integrations from Test Suites
The following mutation unlinks a JIRA Integration from a test suite:
- Query
- cURL
mutation UnlinkJIRAIntegrationFromTestSuite($testSuiteJiraIntegrationId: ObjectID!) {
unlinkJiraIntegrationFromTestSuite(
input: { testSuiteJiraIntegrationId: $testSuiteJiraIntegrationId }
) {
testSuiteJiraIntegration {
id
}
}
}
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 UnlinkJIRAIntegrationFromTestSuite($testSuiteJiraIntegrationId: ObjectID!) { unlinkJiraIntegrationFromTestSuite( input: { testSuiteJiraIntegrationId: $testSuiteJiraIntegrationId } ) { testSuiteJiraIntegration { id } } }"}' https://api.lumar.io/graphql
caution
Use the relationship id.