Github API - Test Config

mutation cloneProject
projects

Creates a new project by cloning configuration from an existing project.

Arguments
input CloneProjectInput

CloneProjectInput [input]

Autogenerated input type of CloneProject

Attributes
body String

The description of the project.

clientMutationId String

A unique identifier for the client performing the mutation.

includeWorkflows Boolean

Whether or not to clone the source project's workflows.

name String

The name of the project.

public Boolean

The visibility of the project, defaults to false (private).

sourceId ID

The source project to clone.

targetOwnerId ID

The owner ID to create the project under.

API:
Github GraphQL API

Parameters for CloneProject

Returns
CloneProjectPayload

CloneProjectPayload [object]

Autogenerated return type of CloneProject

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

jobStatusId String

The id of the JobStatus for populating cloned fields.

project Project

The new cloned project.

API:
Github GraphQL API
API:
Github GraphQL API