Link JIRA Integrations to Test Suites
The following mutation links a JIRA Integration to a test suite:
- Query
- cURL
mutation LinkeJIRAIntegrationToTestSuite($testSuiteId: ObjectID!, $jiraIntegrationId: ObjectID!) {
linkJiraIntegrationToTestSuite(
input: { testSuiteId: $testSuiteId, jiraIntegrationId: $jiraIntegrationId }
) {
testSuiteJiraIntegration {
id
testSuite {
id
}
jiraIntegration {
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 LinkeJIRAIntegrationToTestSuite($testSuiteId: ObjectID!, $jiraIntegrationId: ObjectID!) { linkJiraIntegrationToTestSuite( input: { testSuiteId: $testSuiteId, jiraIntegrationId: $jiraIntegrationId } ) { testSuiteJiraIntegration { id testSuite { id } jiraIntegration { id } } } }"}' https://api.lumar.io/graphql