provider projects POST /orgs/{org}/projectsV2/{project_number}/drafts
@utdk/github /orgs/{org}/projectsV2/{project_number}/drafts
Create draft item for organization owned project
Create draft issue item for the specified organization owned project.
org path required
The organization name. The name is not case sensitive.
string
project_number path required
The project's number.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

projects.createDraftItemForOrg
POST/orgs/{org}/projectsV2/{project_number}/drafts
Create draft issue item for the specified organization owned project.

Parameters

required

The organization name. The name is not case sensitive.

required

The project's number.

Input

required

The title of the draft issue item to create in the project.

The body content of the draft issue item to create in the project.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.projects.createDraftItemForOrg()