add_item_to_project_v2
Add GitHub issues or pull requests to a project V2 by specifying the project and content node IDs using the GraphQL API, streamlining project management workflows.
Instructions
Add an issue or pull request to a GitHub project V2 using GraphQL API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contentId | Yes | The node ID of the issue or pull request to add | |
projectId | Yes | The node ID of the project |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"contentId": {
"description": "The node ID of the issue or pull request to add",
"type": "string"
},
"projectId": {
"description": "The node ID of the project",
"type": "string"
}
},
"required": [
"projectId",
"contentId"
],
"type": "object"
}