OBJECT
createTestPlan
link GraphQL Schema definition
1 Mutation createTestPlan { 2 3 # Mutation used to create a new Test Plan. 4 # 5 # Arguments 6 # savedFilter: the saved filter id or name that will be used to configure the Test Plan. Cannot be used with testIssueIds. 7 # testIssueIds: the test issue ids that will be associated with the Test Plan. Cannot be used with savedFilter. 8 # jira: the Jira object that will be used to create the Test Plan. 9 # Check this Jira endpoint for more information related with this field. 10 (: String, : [String], : JSON!): CreateTestPlanResult 11 12 }
link Example
The mutation below will create a new Test Plan.
mutation {
createTestPlan(
testIssueIds: ["54321"]
jira: {
fields: { summary: "Test Plan for v1.0", project: {key: "CALC"} }
}
) {
testPlan {
issueId
jira(fields: ["key"])
}
warnings
}
}