OBJECT

createTestPlan

link GraphQL Schema definition

1Mutation createTestPlan {
2
3# Mutation used to create a new Test Plan.
4#
5# Arguments
6# testIssueIds: the test issue ids that will be associated with the Test Plan.
7# jira: the Jira object that will be used to create the Test Plan.
8# Check this Jira endpoint for more information related with this field.
9createTestPlan(testIssueIds: [String], jira: JSON!): CreateTestPlanResult
10
11}

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
    }
}