provider projects POST /user/{user_id}/projectsV2/{project_number}/drafts
@utdk/github /user/{user_id}/projectsV2/{project_number}/drafts
Create draft item for user owned project
Create draft issue item for the specified user owned project.
user_id path required
The unique identifier of the user.
string
project_number path required
The project's number.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
projects.createDraftItemForAuthenticatedUser
POST/user/{user_id}/projectsV2/{project_number}/drafts
Create draft issue item for the specified user owned project.

Parameters

required

The unique identifier of the user.

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.

Configure credentials above to enable sending.

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

TypeScript

import github from '@utdk/github';

await github.projects.createDraftItemForAuthenticatedUser()