Mutations
addProjectV2DraftIssue
Creates a new draft issue and add it to a Project.
Input fields for addProjectV2DraftIssue
input(AddProjectV2DraftIssueInput!)
Return fields for addProjectV2DraftIssue
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The draft issue added to the project. |
addProjectV2ItemById
Links an existing content instance to a Project.
Input fields for addProjectV2ItemById
input(AddProjectV2ItemByIdInput!)
Return fields for addProjectV2ItemById
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item added to the project. |
archiveProjectV2Item
Archives a ProjectV2Item.
Input fields for archiveProjectV2Item
input(ArchiveProjectV2ItemInput!)
Return fields for archiveProjectV2Item
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item archived from the project. |
clearProjectV2ItemFieldValue
This mutation clears the value of a field for an item in a Project. Currently only text, number, date, assignees, labels, single-select, multi-select, iteration and milestone fields are supported.
Input fields for clearProjectV2ItemFieldValue
Return fields for clearProjectV2ItemFieldValue
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated item. |
convertProjectV2DraftIssueItemToIssue
Converts a projectV2 draft issue item to an issue.
Input fields for convertProjectV2DraftIssueItemToIssue
Return fields for convertProjectV2DraftIssueItemToIssue
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated project item. |
copyProjectV2
Copy a project.
Input fields for copyProjectV2
input(CopyProjectV2Input!)
Return fields for copyProjectV2
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The copied project. |
createProjectV2
Creates a new project.
Input fields for createProjectV2
input(CreateProjectV2Input!)
Return fields for createProjectV2
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new project. |
createProjectV2Field
Create a new project field.
Input fields for createProjectV2Field
input(CreateProjectV2FieldInput!)
Return fields for createProjectV2Field
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new field. |
createProjectV2IssueField
Create a new project issue field.
Input fields for createProjectV2IssueField
input(CreateProjectV2IssueFieldInput!)
Return fields for createProjectV2IssueField
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new field. |
createProjectV2StatusUpdate
Creates a status update within a Project.
Input fields for createProjectV2StatusUpdate
Return fields for createProjectV2StatusUpdate
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The status update updated in the project. |
createProjectV2View
Creates a new view in a project.
Input fields for createProjectV2View
input(CreateProjectV2ViewInput!)
Return fields for createProjectV2View
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new view. |
deleteProjectV2
Delete a project.
Input fields for deleteProjectV2
input(DeleteProjectV2Input!)
Return fields for deleteProjectV2
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The deleted Project. |
deleteProjectV2Field
Delete a project field.
Input fields for deleteProjectV2Field
input(DeleteProjectV2FieldInput!)
Return fields for deleteProjectV2Field
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The deleted field. |
deleteProjectV2Item
Deletes an item from a Project.
Input fields for deleteProjectV2Item
input(DeleteProjectV2ItemInput!)
Return fields for deleteProjectV2Item
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the deleted item. |
deleteProjectV2StatusUpdate
Deletes a project status update.
Input fields for deleteProjectV2StatusUpdate
Return fields for deleteProjectV2StatusUpdate
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the deleted status update. |
| The project the deleted status update was in. |
deleteProjectV2View
Deletes a view from a project.
Input fields for deleteProjectV2View
input(DeleteProjectV2ViewInput!)
Return fields for deleteProjectV2View
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The deleted view. |
deleteProjectV2Workflow
Deletes a project workflow.
Input fields for deleteProjectV2Workflow
input(DeleteProjectV2WorkflowInput!)
Return fields for deleteProjectV2Workflow
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the deleted workflow. |
| The project the deleted workflow was in. |
linkProjectV2ToRepository
Links a project to a repository.
Input fields for linkProjectV2ToRepository
input(LinkProjectV2ToRepositoryInput!)
Return fields for linkProjectV2ToRepository
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The repository the project is linked to. |
linkProjectV2ToTeam
Links a project to a team.
Input fields for linkProjectV2ToTeam
input(LinkProjectV2ToTeamInput!)
Return fields for linkProjectV2ToTeam
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The team the project is linked to. |
markProjectV2AsTemplate
Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template.
Input fields for markProjectV2AsTemplate
input(MarkProjectV2AsTemplateInput!)
Return fields for markProjectV2AsTemplate
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The project. |
unarchiveProjectV2Item
Unarchives a ProjectV2Item.
Input fields for unarchiveProjectV2Item
input(UnarchiveProjectV2ItemInput!)
Return fields for unarchiveProjectV2Item
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item unarchived from the project. |
unlinkProjectV2FromRepository
Unlinks a project from a repository.
Input fields for unlinkProjectV2FromRepository
Return fields for unlinkProjectV2FromRepository
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The repository the project is no longer linked to. |
unlinkProjectV2FromTeam
Unlinks a project to a team.
Input fields for unlinkProjectV2FromTeam
input(UnlinkProjectV2FromTeamInput!)
Return fields for unlinkProjectV2FromTeam
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The team the project is unlinked from. |
unmarkProjectV2AsTemplate
Unmark a project as a template.
Input fields for unmarkProjectV2AsTemplate
input(UnmarkProjectV2AsTemplateInput!)
Return fields for unmarkProjectV2AsTemplate
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The project. |
updateProjectV2
Updates an existing project.
Input fields for updateProjectV2
input(UpdateProjectV2Input!)
Return fields for updateProjectV2
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated Project. |
updateProjectV2Collaborators
Update the collaborators on a team or a project.
Input fields for updateProjectV2Collaborators
Return fields for updateProjectV2Collaborators
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The collaborators granted a role. |
updateProjectV2DraftIssue
Updates a draft issue within a Project.
Input fields for updateProjectV2DraftIssue
input(UpdateProjectV2DraftIssueInput!)
Return fields for updateProjectV2DraftIssue
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The draft issue updated in the project. |
updateProjectV2Field
Update a project field.
Input fields for updateProjectV2Field
input(UpdateProjectV2FieldInput!)
Return fields for updateProjectV2Field
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated field. |
updateProjectV2ItemFieldValue
This mutation updates the value of a field for an item in a Project. Currently only single-select, multi-select, text, number, date, and iteration fields are supported.
Input fields for updateProjectV2ItemFieldValue
Return fields for updateProjectV2ItemFieldValue
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated item. |
updateProjectV2ItemPosition
This mutation updates the position of the item in the project, where the position represents the priority of an item.
Input fields for updateProjectV2ItemPosition
Return fields for updateProjectV2ItemPosition
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The items in the new order. |
updateProjectV2StatusUpdate
Updates a status update within a Project.
Input fields for updateProjectV2StatusUpdate
Return fields for updateProjectV2StatusUpdate
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The status update updated in the project. |
updateProjectV2View
Updates an existing view in a project.
Input fields for updateProjectV2View
input(UpdateProjectV2ViewInput!)
Return fields for updateProjectV2View
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated view. |
Objects
AddedToProjectV2Event
Represents aadded_to_project_v2event on a given issue or pull request.
AddedToProjectV2Event Implements
Fields for AddedToProjectV2Event
| Name | Description |
|---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The Node ID of the AddedToProjectV2Event object. |
| Project referenced by event. |
| Did this event result from workflow automation?. |
DraftIssue
A draft issue within a project.
DraftIssue Implements
Fields for DraftIssue
| Name | Description |
|---|---|
| A list of users to assigned to this draft issue. |
| The body of the draft issue. |
| The body of the draft issue rendered to HTML. |
| The body of the draft issue rendered to text. |
| Identifies the date and time when the object was created. |
| The actor who created this draft issue. |
| The Node ID of the DraftIssue object. |
| List of items linked with the draft issue (currently draft issue can be linked to only one item). Arguments for
|
| Projects that link to this draft issue (currently draft issue can be linked to only one project). Arguments for
|
| The title of the draft issue. |
| Identifies the date and time when the object was last updated. |
ProjectV2
New projects that manage issues, pull requests and drafts using tables and boards.
ProjectV2 Implements
Fields for ProjectV2
| Name | Description |
|---|---|
| Returns true if the project is closed. |
| Identifies the date and time when the object was closed. |
| Identifies the date and time when the object was created. |
| The actor who originally created the project. |
| Identifies the primary key from the database. Warning
|
| A field of the project. Arguments for
|
List of fields and their constraints in the project. Arguments for
| |
| Identifies the primary key from the database as a BigInt. |
| The Node ID of the ProjectV2 object. |
| List of items in the project. Arguments for
|
| The project's number. |
| The project's owner. Currently limited to organizations and users. |
| Returns true if the project is public. |
| The project's readme. |
| The repositories the project is linked to. Arguments for
|
| The HTTP path for this project. |
| The project's short description. |
| List of the status updates in the project. Arguments for
|
| The teams the project is linked to. Arguments for
|
| Returns true if this project is a template. |
| The project's name. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this project. |
| A view of the project. Arguments for
|
| Indicates if the object can be closed by the viewer. |
| Indicates if the object can be reopened by the viewer. |
| Check if the current viewer can update this object. |
| List of views in the project. Arguments for
|
| A workflow of the project. Arguments for
|
| List of the workflows in the project. Arguments for
|
ProjectV2ActorConnection
The connection type for ProjectV2Actor.
Fields for ProjectV2ActorConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2ActorEdge
An edge in a connection.
Fields for ProjectV2ActorEdge
| Name | Description |
|---|---|
|