Mutations
addProjectV2DraftIssue
Creates a new draft issue and add it to a Project.
Поля ввода для addProjectV2DraftIssue
input(AddProjectV2DraftIssueInput!)
Возвращаемые поля для addProjectV2DraftIssue
| Имя. | 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.
Поля ввода для addProjectV2ItemById
input(AddProjectV2ItemByIdInput!)
Возвращаемые поля для addProjectV2ItemById
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item added to the project. |
archiveProjectV2Item
Archives a ProjectV2Item.
Поля ввода для archiveProjectV2Item
input(ArchiveProjectV2ItemInput!)
Возвращаемые поля для archiveProjectV2Item
| Имя. | 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, iteration and milestone fields are supported.
Поля ввода для clearProjectV2ItemFieldValue
Возвращаемые поля для clearProjectV2ItemFieldValue
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated item. |
convertProjectV2DraftIssueItemToIssue
Converts a projectV2 draft issue item to an issue.
Поля ввода для convertProjectV2DraftIssueItemToIssue
Возвращаемые поля для convertProjectV2DraftIssueItemToIssue
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated project item. |
copyProjectV2
Copy a project.
Поля ввода для copyProjectV2
input(CopyProjectV2Input!)
Возвращаемые поля для copyProjectV2
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The copied project. |
createProjectV2
Creates a new project.
Поля ввода для createProjectV2
input(CreateProjectV2Input!)
Возвращаемые поля для createProjectV2
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new project. |
createProjectV2Field
Create a new project field.
Поля ввода для createProjectV2Field
input(CreateProjectV2FieldInput!)
Возвращаемые поля для createProjectV2Field
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new field. |
createProjectV2StatusUpdate
Creates a status update within a Project.
Поля ввода для createProjectV2StatusUpdate
Возвращаемые поля для createProjectV2StatusUpdate
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The status update updated in the project. |
deleteProjectV2
Delete a project.
Поля ввода для deleteProjectV2
input(DeleteProjectV2Input!)
Возвращаемые поля для deleteProjectV2
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The deleted Project. |
deleteProjectV2Field
Delete a project field.
Поля ввода для deleteProjectV2Field
input(DeleteProjectV2FieldInput!)
Возвращаемые поля для deleteProjectV2Field
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The deleted field. |
deleteProjectV2Item
Deletes an item from a Project.
Поля ввода для deleteProjectV2Item
input(DeleteProjectV2ItemInput!)
Возвращаемые поля для deleteProjectV2Item
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the deleted item. |
deleteProjectV2StatusUpdate
Deletes a project status update.
Поля ввода для deleteProjectV2StatusUpdate
Возвращаемые поля для deleteProjectV2StatusUpdate
| Имя. | 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. |
deleteProjectV2Workflow
Deletes a project workflow.
Поля ввода для deleteProjectV2Workflow
input(DeleteProjectV2WorkflowInput!)
Возвращаемые поля для deleteProjectV2Workflow
| Имя. | 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.
Поля ввода для linkProjectV2ToRepository
input(LinkProjectV2ToRepositoryInput!)
Возвращаемые поля для linkProjectV2ToRepository
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The repository the project is linked to. |
linkProjectV2ToTeam
Links a project to a team.
Поля ввода для linkProjectV2ToTeam
input(LinkProjectV2ToTeamInput!)
Возвращаемые поля для linkProjectV2ToTeam
| Имя. | 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.
Поля ввода для markProjectV2AsTemplate
input(MarkProjectV2AsTemplateInput!)
Возвращаемые поля для markProjectV2AsTemplate
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The project. |
unarchiveProjectV2Item
Unarchives a ProjectV2Item.
Поля ввода для unarchiveProjectV2Item
input(UnarchiveProjectV2ItemInput!)
Возвращаемые поля для unarchiveProjectV2Item
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item unarchived from the project. |
unlinkProjectV2FromRepository
Unlinks a project from a repository.
Поля ввода для unlinkProjectV2FromRepository
Возвращаемые поля для unlinkProjectV2FromRepository
| Имя. | 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.
Поля ввода для unlinkProjectV2FromTeam
input(UnlinkProjectV2FromTeamInput!)
Возвращаемые поля для unlinkProjectV2FromTeam
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The team the project is unlinked from. |
unmarkProjectV2AsTemplate
Unmark a project as a template.
Поля ввода для unmarkProjectV2AsTemplate
input(UnmarkProjectV2AsTemplateInput!)
Возвращаемые поля для unmarkProjectV2AsTemplate
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The project. |
updateProjectV2
Updates an existing project.
Поля ввода для updateProjectV2
input(UpdateProjectV2Input!)
Возвращаемые поля для updateProjectV2
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated Project. |
updateProjectV2Collaborators
Update the collaborators on a team or a project.
Поля ввода для updateProjectV2Collaborators
Возвращаемые поля для updateProjectV2Collaborators
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The collaborators granted a role. |
updateProjectV2DraftIssue
Updates a draft issue within a Project.
Поля ввода для updateProjectV2DraftIssue
input(UpdateProjectV2DraftIssueInput!)
Возвращаемые поля для updateProjectV2DraftIssue
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The draft issue updated in the project. |
updateProjectV2Field
Update a project field.
Поля ввода для updateProjectV2Field
input(UpdateProjectV2FieldInput!)
Возвращаемые поля для updateProjectV2Field
| Имя. | 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, text, number, date, and iteration fields are supported.
Поля ввода для updateProjectV2ItemFieldValue
Возвращаемые поля для updateProjectV2ItemFieldValue
| Имя. | 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.
Поля ввода для updateProjectV2ItemPosition
Возвращаемые поля для updateProjectV2ItemPosition
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The items in the new order. |
updateProjectV2StatusUpdate
Updates a status update within a Project.
Поля ввода для updateProjectV2StatusUpdate
Возвращаемые поля для updateProjectV2StatusUpdate
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The status update updated in the project. |
Objects
DraftIssue
A draft issue within a project.
DraftIssue Реализует
Поля для DraftIssue
| Имя. | 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). Аргументы для
|
| Projects that link to this draft issue (currently draft issue can be linked to only one project). Аргументы для
|
| 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 Реализует
Поля для ProjectV2
| Имя. | 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. Предупреждение
|
| A field of the project. Аргументы для
|
List of fields and their constraints in the project. Аргументы для
| |
| Identifies the primary key from the database as a BigInt. |
| The Node ID of the ProjectV2 object. |
| List of items in the project. Аргументы для
|
| 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. Аргументы для
|
| The HTTP path for this project. |
| The project's short description. |
| List of the status updates in the project. Аргументы для
|
| The teams the project is linked to. Аргументы для
|
| 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. Аргументы для
|
| 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. Аргументы для
|
| A workflow of the project. Аргументы для
|
| List of the workflows in the project. Аргументы для
|
ProjectV2ActorConnection
The connection type for ProjectV2Actor.
Поля для ProjectV2ActorConnection
| Имя. | 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.
Поля для ProjectV2ActorEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2Connection
The connection type for ProjectV2.
Поля для ProjectV2Connection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2Edge
An edge in a connection.
Поля для ProjectV2Edge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2Field
A field inside a project.
ProjectV2Field Реализует
Поля для ProjectV2Field
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The field's type. |
| Identifies the primary key from the database. |
| The Node ID of the ProjectV2Field object. |
| The project field's name. |
| The project that contains this field. |
| Identifies the date and time when the object was last updated. |
ProjectV2FieldConfigurationConnection
The connection type for ProjectV2FieldConfiguration.
Поля для ProjectV2FieldConfigurationConnection
| Имя. | Description |
|---|---|
A list of edges. | |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2FieldConfigurationEdge
An edge in a connection.
Поля для ProjectV2FieldConfigurationEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2FieldConnection
The connection type for ProjectV2Field.
Поля для ProjectV2FieldConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2FieldEdge
An edge in a connection.
Поля для ProjectV2FieldEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2Item
An item within a Project.
ProjectV2Item Реализует
Поля для ProjectV2Item
| Имя. | Description |
|---|---|
| The content of the referenced draft issue, issue, or pull request. |
| Identifies the date and time when the object was created. |
| The actor who created the item. |
| Identifies the primary key from the database. Предупреждение
|
| The field value of the first project field which matches the Аргументы для
|
| The field values that are set on the item. Аргументы для
|
| Identifies the primary key from the database as a BigInt. |
| The Node ID of the ProjectV2Item object. |
| Whether the item is archived. |
| The project that contains this item. |
| The type of the item. |
| Identifies the date and time when the object was last updated. |
ProjectV2ItemConnection
The connection type for ProjectV2Item.
Поля для ProjectV2ItemConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2ItemEdge
An edge in a connection.
Поля для ProjectV2ItemEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2ItemFieldDateValue
The value of a date field in a Project item.
ProjectV2ItemFieldDateValue Реализует
Поля для ProjectV2ItemFieldDateValue
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The actor who created the item. |
| Identifies the primary key from the database. |
| Date value for the field. |
| The project field that contains this value. |
| The Node ID of the ProjectV2ItemFieldDateValue object. |
| The project item that contains this value. |
| Identifies the date and time when the object was last updated. |
ProjectV2ItemFieldIterationValue
The value of an iteration field in a Project item.
ProjectV2ItemFieldIterationValue Реализует
Поля для ProjectV2ItemFieldIterationValue
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The actor who created the item. |
| Identifies the primary key from the database. |
| The duration of the iteration in days. |
| The project field that contains this value. |
| The Node ID of the ProjectV2ItemFieldIterationValue object. |
| The project item that contains this value. |
| The ID of the iteration. |
| The start date of the iteration. |
| The title of the iteration. |
| The title of the iteration, with HTML. |
| Identifies the date and time when the object was last updated. |
ProjectV2ItemFieldLabelValue
The value of the labels field in a Project item.
Поля для ProjectV2ItemFieldLabelValue
| Имя. | Description |
|---|---|
| The field that contains this value. |
| Labels value of a field. |
ProjectV2ItemFieldMilestoneValue
The value of a milestone field in a Project item.
Поля для ProjectV2ItemFieldMilestoneValue
| Имя. | Description |
|---|---|
| The field that contains this value. |
| Milestone value of a field. |
ProjectV2ItemFieldNumberValue
The value of a number field in a Project item.
ProjectV2ItemFieldNumberValue Реализует
Поля для ProjectV2ItemFieldNumberValue
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The actor who created the item. |
| Identifies the primary key from the database. |
| The project field that contains this value. |
| The Node ID of the ProjectV2ItemFieldNumberValue object. |
| The project item that contains this value. |
| Number as a float(8). |
| Identifies the date and time when the object was last updated. |
ProjectV2ItemFieldPullRequestValue
The value of a pull request field in a Project item.
Поля для ProjectV2ItemFieldPullRequestValue
| Имя. | Description |
|---|---|
| The field that contains this value. |
| The pull requests for this field. Аргументы для
|
ProjectV2ItemFieldRepositoryValue
The value of a repository field in a Project item.
Поля для ProjectV2ItemFieldRepositoryValue
| Имя. | Description |
|---|---|
| The field that contains this value. |
| The repository for this field. |
ProjectV2ItemFieldReviewerValue
The value of a reviewers field in a Project item.
Поля для ProjectV2ItemFieldReviewerValue
| Имя. | Description |
|---|---|
| The field that contains this value. |
| The reviewers for this field. |
ProjectV2ItemFieldSingleSelectValue
The value of a single select field in a Project item.
ProjectV2ItemFieldSingleSelectValue Реализует
Поля для ProjectV2ItemFieldSingleSelectValue
| Имя. | Description |
|---|---|
The color applied to the selected single-select option. | |
| Identifies the date and time when the object was created. |
| The actor who created the item. |
| Identifies the primary key from the database. |
| A plain-text description of the selected single-select option, such as what the option means. |
| The description of the selected single-select option, including HTML tags. |
| The project field that contains this value. |
| The Node ID of the ProjectV2ItemFieldSingleSelectValue object. |
| The project item that contains this value. |
| The name of the selected single select option. |
| The html name of the selected single select option. |
| The id of the selected single select option. |
| Identifies the date and time when the object was last updated. |
ProjectV2ItemFieldTextValue
The value of a text field in a Project item.
ProjectV2ItemFieldTextValue Реализует
Поля для ProjectV2ItemFieldTextValue
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The actor who created the item. |
| Identifies the primary key from the database. |
| The project field that contains this value. |
| The Node ID of the ProjectV2ItemFieldTextValue object. |
| The project item that contains this value. |
| Text value of a field. |
| Identifies the date and time when the object was last updated. |
ProjectV2ItemFieldUserValue
The value of a user field in a Project item.
Поля для ProjectV2ItemFieldUserValue
| Имя. | Description |
|---|---|
| The field that contains this value. |
| The users for this field. |
ProjectV2ItemFieldValueConnection
The connection type for ProjectV2ItemFieldValue.
Поля для ProjectV2ItemFieldValueConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2ItemFieldValueEdge
An edge in a connection.
Поля для ProjectV2ItemFieldValueEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2IterationField
An iteration field inside a project.
ProjectV2IterationField Реализует
Поля для ProjectV2IterationField
| Имя. | Description |
|---|---|
| Iteration configuration settings. |
| Identifies the date and time when the object was created. |
| The field's type. |
| Identifies the primary key from the database. |
| The Node ID of the ProjectV2IterationField object. |
| The project field's name. |
| The project that contains this field. |
| Identifies the date and time when the object was last updated. |
ProjectV2IterationFieldConfiguration
Iteration field configuration for a project.
Поля для ProjectV2IterationFieldConfiguration
| Имя. | Description |
|---|---|
| The iteration's completed iterations. |
| The iteration's duration in days. |
| The iteration's iterations. |
| The iteration's start day of the week. |
ProjectV2IterationFieldIteration
Iteration field iteration settings for a project.
Поля для ProjectV2IterationFieldIteration
| Имя. | Description |
|---|---|
| The iteration's duration in days. |
| The iteration's ID. |
| The iteration's start date. |
| The iteration's title. |
| The iteration's html title. |
ProjectV2SingleSelectField
A single select field inside a project.
ProjectV2SingleSelectField Реализует
Поля для ProjectV2SingleSelectField
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The field's type. |
| Identifies the primary key from the database. |
| The Node ID of the ProjectV2SingleSelectField object. |
| The project field's name. |
| Options for the single select field. Аргументы для
|
| The project that contains this field. |
| Identifies the date and time when the object was last updated. |
ProjectV2SingleSelectFieldOption
Single select field option for a configuration for a project.
Поля для ProjectV2SingleSelectFieldOption
| Имя. | Description |
|---|---|
The option's display color. | |
| The option's plain-text description. |
| The option's description, possibly containing HTML. |
| The option's ID. |
| The option's name. |
| The option's html name. |
ProjectV2SortBy
Represents a sort by field and direction.
Поля для ProjectV2SortBy
| Имя. | Description |
|---|---|
| The direction of the sorting. Possible values are ASC and DESC. |
| The field by which items are sorted. |
ProjectV2SortByConnection
The connection type for ProjectV2SortBy.
Поля для ProjectV2SortByConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2SortByEdge
An edge in a connection.
Поля для ProjectV2SortByEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2SortByField
Represents a sort by field and direction.
Поля для ProjectV2SortByField
| Имя. | Description |
|---|---|
| The direction of the sorting. Possible values are ASC and DESC. |
| The field by which items are sorted. |
ProjectV2SortByFieldConnection
The connection type for ProjectV2SortByField.
Поля для ProjectV2SortByFieldConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2SortByFieldEdge
An edge in a connection.
Поля для ProjectV2SortByFieldEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2StatusUpdate
A status update within a project.
ProjectV2StatusUpdate Реализует
Поля для ProjectV2StatusUpdate
| Имя. | Description |
|---|---|
| The body of the status update. |
| The body of the status update rendered to HTML. |
| Identifies the date and time when the object was created. |
| The actor who created the status update. |
| Identifies the primary key from the database. Предупреждение
|
| Identifies the primary key from the database as a BigInt. |
| The Node ID of the ProjectV2StatusUpdate object. |
| The project that contains this status update. |
| The start date of the status update. |
| The status of the status update. |
| The target date of the status update. |
| Identifies the date and time when the object was last updated. |
ProjectV2StatusUpdateConnection
The connection type for ProjectV2StatusUpdate.
Поля для ProjectV2StatusUpdateConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2StatusUpdateEdge
An edge in a connection.
Поля для ProjectV2StatusUpdateEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2View
A view within a ProjectV2.
ProjectV2View Реализует
Поля для ProjectV2View
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. Предупреждение
|
The view's visible fields. Аргументы для
| |
| The project view's filter. |
| Identifies the primary key from the database as a BigInt. |
| The view's group-by field. Предупреждение
The Аргументы для
|
| The view's group-by field. Аргументы для
|
| The Node ID of the ProjectV2View object. |
| The project view's layout. |
| The project view's name. |
| The project view's number. |
| The project that contains this view. |
| The view's sort-by config. Предупреждение
The |
| The view's sort-by config. Аргументы для
|
| Identifies the date and time when the object was last updated. |
| The view's vertical-group-by field. Предупреждение
The Аргументы для
|
| The view's vertical-group-by field. Аргументы для
|
| The view's visible fields. Предупреждение
The Аргументы для
|
ProjectV2ViewConnection
The connection type for ProjectV2View.
Поля для ProjectV2ViewConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2ViewEdge
An edge in a connection.
Поля для ProjectV2ViewEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProjectV2Workflow
A workflow inside a project.
ProjectV2Workflow Реализует
Поля для ProjectV2Workflow
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. Предупреждение
|
| Whether the workflow is enabled. |
| Identifies the primary key from the database as a BigInt. |
| The Node ID of the ProjectV2Workflow object. |
| The name of the workflow. |
| The number of the workflow. |
| The project that contains this workflow. |
| Identifies the date and time when the object was last updated. |
ProjectV2WorkflowConnection
The connection type for ProjectV2Workflow.
Поля для ProjectV2WorkflowConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ProjectV2WorkflowEdge
An edge in a connection.
Поля для ProjectV2WorkflowEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
Interfaces
ProjectV2FieldCommon
Common fields across different project field types.
ProjectV2FieldCommon реализуется с помощью
Поля для ProjectV2FieldCommon
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The field's type. |
| Identifies the primary key from the database. |
| The Node ID of the ProjectV2FieldCommon object. |
| The project field's name. |
| The project that contains this field. |
| Identifies the date and time when the object was last updated. |
ProjectV2ItemFieldValueCommon
Common fields across different project field value types.
ProjectV2ItemFieldValueCommon реализуется с помощью
ProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValue
Поля для ProjectV2ItemFieldValueCommon
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The actor who created the item. |
| Identifies the primary key from the database. |
| The project field that contains this value. |
| The Node ID of the ProjectV2ItemFieldValueCommon object. |
| The project item that contains this value. |
| Identifies the date and time when the object was last updated. |
ProjectV2Owner
Represents an owner of a project.
ProjectV2Owner реализуется с помощью
Поля для ProjectV2Owner
| Имя. | Description |
|---|---|
| The Node ID of the ProjectV2Owner object. |
| Find a project by number. Аргументы для
|
| A list of projects under the owner. Аргументы для
|
ProjectV2Recent
Recent projects for the owner.
ProjectV2Recent реализуется с помощью
Поля для ProjectV2Recent
| Имя. | Description |
|---|---|
| Recent projects that this user has modified in the context of the owner. Аргументы для
|
Enums
ProjectV2CustomFieldType
The type of a project field.
Значения для ProjectV2CustomFieldType
| Имя. | Description |
|---|---|
DATE | Date. |
ITERATION | Iteration. |
NUMBER | Number. |
SINGLE_SELECT | Single Select. |
TEXT | Text. |
ProjectV2FieldOrderField
Properties by which project v2 field connections can be ordered.
Значения для ProjectV2FieldOrderField
| Имя. | Description |
|---|---|
CREATED_AT | Order project v2 fields by creation time. |
NAME | Order project v2 fields by name. |
POSITION | Order project v2 fields by position. |
ProjectV2FieldType
The type of a project field.
Значения для ProjectV2FieldType
| Имя. | Description |
|---|---|
ASSIGNEES | Assignees. |
DATE | Date. |
ISSUE_TYPE | Issue type. |
ITERATION | Iteration. |
LABELS | Labels. |
LINKED_PULL_REQUESTS | Linked Pull Requests. |
MILESTONE | Milestone. |
NUMBER | Number. |
PARENT_ISSUE | Parent issue. |
REPOSITORY | Repository. |
REVIEWERS | Reviewers. |
SINGLE_SELECT | Single Select. |
SUB_ISSUES_PROGRESS | Sub-issues progress. |
TEXT | Text. |
TITLE | Title. |
TRACKED_BY | Tracked by. |
TRACKS | Tracks. |
ProjectV2ItemFieldValueOrderField
Properties by which project v2 item field value connections can be ordered.
Значения для ProjectV2ItemFieldValueOrderField
| Имя. | Description |
|---|---|
POSITION | Order project v2 item field values by the their position in the project. |
ProjectV2ItemOrderField
Properties by which project v2 item connections can be ordered.
Значения для ProjectV2ItemOrderField
| Имя. | Description |
|---|---|
POSITION | Order project v2 items by the their position in the project. |
ProjectV2ItemType
The type of a project item.
Значения для ProjectV2ItemType
| Имя. | Description |
|---|---|
DRAFT_ISSUE | Draft Issue. |
ISSUE | Issue. |
PULL_REQUEST | Pull Request. |
REDACTED | Redacted Item. |
ProjectV2OrderField
Properties by which projects can be ordered.
Значения для ProjectV2OrderField
| Имя. | Description |
|---|---|
CREATED_AT | The project's date and time of creation. |
NUMBER | The project's number. |
TITLE | The project's title. |
UPDATED_AT | The project's date and time of update. |
ProjectV2PermissionLevel
The possible roles of a collaborator on a project.
Значения для ProjectV2PermissionLevel
| Имя. | Description |
|---|---|
ADMIN | The collaborator can view, edit, and maange the settings of the project. |
READ | The collaborator can view the project. |
WRITE | The collaborator can view and edit the project. |
ProjectV2Roles
The possible roles of a collaborator on a project.
Значения для ProjectV2Roles
| Имя. | Description |
|---|---|
ADMIN | The collaborator can view, edit, and maange the settings of the project. |
NONE | The collaborator has no direct access to the project. |
READER | The collaborator can view the project. |
WRITER | The collaborator can view and edit the project. |
ProjectV2SingleSelectFieldOptionColor
The display color of a single-select field option.
Значения для ProjectV2SingleSelectFieldOptionColor
| Имя. | Description |
|---|---|
BLUE | BLUE. |
GRAY | GRAY. |
GREEN | GREEN. |
ORANGE | ORANGE. |
PINK | PINK. |
PURPLE | PURPLE. |
RED | RED. |
YELLOW | YELLOW. |
ProjectV2State
The possible states of a project v2.
Значения для ProjectV2State
| Имя. | Description |
|---|---|
CLOSED | A project v2 that has been closed. |
OPEN | A project v2 that is still open. |
ProjectV2StatusUpdateOrderField
Properties by which project v2 status updates can be ordered.
Значения для ProjectV2StatusUpdateOrderField
| Имя. | Description |
|---|---|
CREATED_AT | Allows chronological ordering of project v2 status updates. |
ProjectV2StatusUpdateStatus
The possible statuses of a project v2.
Значения для ProjectV2StatusUpdateStatus
| Имя. | Description |
|---|---|
AT_RISK | A project v2 that is at risk and encountering some challenges. |
COMPLETE | A project v2 that is complete. |
INACTIVE | A project v2 that is inactive. |
OFF_TRACK | A project v2 that is off track and needs attention. |
ON_TRACK | A project v2 that is on track with no risks. |
ProjectV2ViewLayout
The layout of a project v2 view.
Значения для ProjectV2ViewLayout
| Имя. | Description |
|---|---|
BOARD_LAYOUT | Board layout. |
ROADMAP_LAYOUT | Roadmap layout. |
TABLE_LAYOUT | Table layout. |
ProjectV2ViewOrderField
Properties by which project v2 view connections can be ordered.
Значения для ProjectV2ViewOrderField
| Имя. | Description |
|---|---|
CREATED_AT | Order project v2 views by creation time. |
NAME | Order project v2 views by name. |
POSITION | Order project v2 views by position. |
ProjectV2WorkflowsOrderField
Properties by which project workflows can be ordered.
Значения для ProjectV2WorkflowsOrderField
| Имя. | Description |
|---|---|
CREATED_AT | The date and time of the workflow creation. |
NAME | The name of the workflow. |
NUMBER | The number of the workflow. |
UPDATED_AT | The date and time of the workflow update. |
Unions
OrganizationOrUser
Used for argument of CreateProjectV2 mutation.
Возможные типы для OrganizationOrUser
ProjectV2Actor
Possible collaborators for a project.
Возможные типы для ProjectV2Actor
ProjectV2FieldConfiguration
Configurations for project fields.
Возможные типы для ProjectV2FieldConfiguration
ProjectV2ItemContent
Types that can be inside Project Items.
Возможные типы для ProjectV2ItemContent
ProjectV2ItemFieldValue
Project field values.
Возможные типы для ProjectV2ItemFieldValue
ProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldLabelValueProjectV2ItemFieldMilestoneValueProjectV2ItemFieldNumberValueProjectV2ItemFieldPullRequestValueProjectV2ItemFieldRepositoryValueProjectV2ItemFieldReviewerValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2ItemFieldUserValue
Input objects
AddProjectV2DraftIssueInput
Autogenerated input type of AddProjectV2DraftIssue.
Поля ввода для AddProjectV2DraftIssueInput
| Имя. | Description |
|---|---|
| The IDs of the assignees of the draft issue. |
| The body of the draft issue. |
| A unique identifier for the client performing the mutation. |
| The ID of the Project to add the draft issue to. |
| The title of the draft issue. A project item can also be created by providing the URL of an Issue or Pull Request if you have access. |
AddProjectV2ItemByIdInput
Autogenerated input type of AddProjectV2ItemById.
Поля ввода для AddProjectV2ItemByIdInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The id of the Issue or Pull Request to add. |
| The ID of the Project to add the item to. |
ArchiveProjectV2ItemInput
Autogenerated input type of ArchiveProjectV2Item.
Поля ввода для ArchiveProjectV2ItemInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the ProjectV2Item to archive. |
| The ID of the Project to archive the item from. |
ClearProjectV2ItemFieldValueInput
Autogenerated input type of ClearProjectV2ItemFieldValue.
Поля ввода для ClearProjectV2ItemFieldValueInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the field to be cleared. |
| The ID of the item to be cleared. |
| The ID of the Project. |
ConvertProjectV2DraftIssueItemToIssueInput
Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue.
Поля ввода для ConvertProjectV2DraftIssueItemToIssueInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the draft issue ProjectV2Item to convert. |
| The ID of the repository to create the issue in. |
CopyProjectV2Input
Autogenerated input type of CopyProjectV2.
Поля ввода для CopyProjectV2Input
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| Include draft issues in the new project. |
| The owner ID of the new project. |
| The ID of the source Project to copy. |
| The title of the project. |
CreateProjectV2FieldInput
Autogenerated input type of CreateProjectV2Field.
Поля ввода для CreateProjectV2FieldInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The data type of the field. |
| Configuration for an iteration field. |
| The name of the field. |
| The ID of the Project to create the field in. |
| Options for a single select field. At least one value is required if data_type is SINGLE_SELECT. |
CreateProjectV2Input
Autogenerated input type of CreateProjectV2.
Поля ввода для CreateProjectV2Input
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The owner ID to create the project under. |
| The repository to link the project to. |
| The team to link the project to. The team will be granted read permissions. |
| The title of the project. |
CreateProjectV2StatusUpdateInput
Autogenerated input type of CreateProjectV2StatusUpdate.
Поля ввода для CreateProjectV2StatusUpdateInput
| Имя. | Description |
|---|---|
| The body of the status update. |
| A unique identifier for the client performing the mutation. |
| The ID of the Project to create the status update in. |
| The start date of the status update. |
| The status of the status update. |
| The target date of the status update. |
DeleteProjectV2FieldInput
Autogenerated input type of DeleteProjectV2Field.
Поля ввода для DeleteProjectV2FieldInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the field to delete. |
DeleteProjectV2Input
Autogenerated input type of DeleteProjectV2.
Поля ввода для DeleteProjectV2Input
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the Project to delete. |
DeleteProjectV2ItemInput
Autogenerated input type of DeleteProjectV2Item.
Поля ввода для DeleteProjectV2ItemInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the item to be removed. |
| The ID of the Project from which the item should be removed. |
DeleteProjectV2StatusUpdateInput
Autogenerated input type of DeleteProjectV2StatusUpdate.
Поля ввода для DeleteProjectV2StatusUpdateInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the status update to be removed. |
DeleteProjectV2WorkflowInput
Autogenerated input type of DeleteProjectV2Workflow.
Поля ввода для DeleteProjectV2WorkflowInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the workflow to be removed. |
LinkProjectV2ToRepositoryInput
Autogenerated input type of LinkProjectV2ToRepository.
Поля ввода для LinkProjectV2ToRepositoryInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the project to link to the repository. |
| The ID of the repository to link to the project. |
LinkProjectV2ToTeamInput
Autogenerated input type of LinkProjectV2ToTeam.
Поля ввода для LinkProjectV2ToTeamInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the project to link to the team. |
| The ID of the team to link to the project. |
MarkProjectV2AsTemplateInput
Autogenerated input type of MarkProjectV2AsTemplate.
Поля ввода для MarkProjectV2AsTemplateInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the Project to mark as a template. |
ProjectV2Collaborator
A collaborator to update on a project. Only one of the userId or teamId should be provided.
Поля ввода для ProjectV2Collaborator
| Имя. | Description |
|---|---|
| The role to grant the collaborator. |
| The ID of the team as a collaborator. |
| The ID of the user as a collaborator. |
ProjectV2FieldOrder
Ordering options for project v2 field connections.
Поля ввода для ProjectV2FieldOrder
| Имя. | Description |
|---|---|
| The ordering direction. |
| The field to order the project v2 fields by. |
ProjectV2FieldValue
The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time.
Поля ввода для ProjectV2FieldValue
| Имя. | Description |
|---|---|
| The ISO 8601 date to set on the field. |
| The id of the iteration to set on the field. |
| The number to set on the field. |
| The id of the single select option to set on the field. |
| The text to set on the field. |
ProjectV2Filters
Ways in which to filter lists of projects.
Поля ввода для ProjectV2Filters
| Имя. | Description |
|---|---|
| List project v2 filtered by the state given. |
ProjectV2ItemFieldValueOrder
Ordering options for project v2 item field value connections.
Поля ввода для ProjectV2ItemFieldValueOrder
| Имя. | Description |
|---|---|
| The ordering direction. |
The field to order the project v2 item field values by. |
ProjectV2ItemOrder
Ordering options for project v2 item connections.
Поля ввода для ProjectV2ItemOrder
| Имя. | Description |
|---|---|
| The ordering direction. |
| The field to order the project v2 items by. |
ProjectV2Iteration
Represents an iteration.
Поля ввода для ProjectV2Iteration
| Имя. | Description |
|---|---|
| The duration of the iteration, in days. |
| The start date for the iteration. |
| The title for the iteration. |
ProjectV2IterationFieldConfigurationInput
Represents an iteration field configuration.
Поля ввода для ProjectV2IterationFieldConfigurationInput
| Имя. | Description |
|---|---|
| The duration of each iteration, in days. |
| Zero or more iterations for the field. |
| The start date for the first iteration. |
ProjectV2Order
Ways in which lists of projects can be ordered upon return.
Поля ввода для ProjectV2Order
| Имя. | Description |
|---|---|
| The direction in which to order projects by the specified field. |
| The field in which to order projects by. |
ProjectV2SingleSelectFieldOptionInput
Represents a single select field option.
Поля ввода для ProjectV2SingleSelectFieldOptionInput
| Имя. | Description |
|---|---|
The display color of the option. | |
| The description text of the option. |
| The name of the option. |
ProjectV2StatusOrder
Ways in which project v2 status updates can be ordered.
Поля ввода для ProjectV2StatusOrder
| Имя. | Description |
|---|---|
| The direction in which to order nodes. |
| The field by which to order nodes. |
ProjectV2ViewOrder
Ordering options for project v2 view connections.
Поля ввода для ProjectV2ViewOrder
| Имя. | Description |
|---|---|
| The ordering direction. |
| The field to order the project v2 views by. |
ProjectV2WorkflowOrder
Ordering options for project v2 workflows connections.
Поля ввода для ProjectV2WorkflowOrder
| Имя. | Description |
|---|---|
| The ordering direction. |
| The field to order the project v2 workflows by. |
UnarchiveProjectV2ItemInput
Autogenerated input type of UnarchiveProjectV2Item.
Поля ввода для UnarchiveProjectV2ItemInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the ProjectV2Item to unarchive. |
| The ID of the Project to archive the item from. |
UnlinkProjectV2FromRepositoryInput
Autogenerated input type of UnlinkProjectV2FromRepository.
Поля ввода для UnlinkProjectV2FromRepositoryInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the project to unlink from the repository. |
| The ID of the repository to unlink from the project. |
UnlinkProjectV2FromTeamInput
Autogenerated input type of UnlinkProjectV2FromTeam.
Поля ввода для UnlinkProjectV2FromTeamInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the project to unlink from the team. |
| The ID of the team to unlink from the project. |
UnmarkProjectV2AsTemplateInput
Autogenerated input type of UnmarkProjectV2AsTemplate.
Поля ввода для UnmarkProjectV2AsTemplateInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the Project to unmark as a template. |
UpdateProjectV2CollaboratorsInput
Autogenerated input type of UpdateProjectV2Collaborators.
Поля ввода для UpdateProjectV2CollaboratorsInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The collaborators to update. |
| The ID of the project to update the collaborators for. |
UpdateProjectV2DraftIssueInput
Autogenerated input type of UpdateProjectV2DraftIssue.
Поля ввода для UpdateProjectV2DraftIssueInput
| Имя. | Description |
|---|---|
| The IDs of the assignees of the draft issue. |
| The body of the draft issue. |
| A unique identifier for the client performing the mutation. |
| The ID of the draft issue to update. |
| The title of the draft issue. |
UpdateProjectV2FieldInput
Autogenerated input type of UpdateProjectV2Field.
Поля ввода для UpdateProjectV2FieldInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the field to update. |
| Configuration for an iteration field. |
| The name to update. |
| Options for a field of type SINGLE_SELECT. If empty, no changes will be made to the options. If values are present, they will overwrite the existing options for the field. |
UpdateProjectV2Input
Autogenerated input type of UpdateProjectV2.
Поля ввода для UpdateProjectV2Input
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| Set the project to closed or open. |
| The ID of the Project to update. |
| Set the project to public or private. |
| Set the readme description of the project. |
| Set the short description of the project. |
| Set the title of the project. |
UpdateProjectV2ItemFieldValueInput
Autogenerated input type of UpdateProjectV2ItemFieldValue.
Поля ввода для UpdateProjectV2ItemFieldValueInput
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the field to be updated. |
| The ID of the item to be updated. |
| The ID of the Project. |
| The value which will be set on the field. |
UpdateProjectV2ItemPositionInput
Autogenerated input type of UpdateProjectV2ItemPosition.
Поля ввода для UpdateProjectV2ItemPositionInput
| Имя. | Description |
|---|---|
| The ID of the item to position this item after. If omitted or set to null the item will be moved to top. |
| A unique identifier for the client performing the mutation. |
| The ID of the item to be moved. |
| The ID of the Project. |
UpdateProjectV2StatusUpdateInput
Autogenerated input type of UpdateProjectV2StatusUpdate.
Поля ввода для UpdateProjectV2StatusUpdateInput
| Имя. | Description |
|---|---|
| The body of the status update. |
| A unique identifier for the client performing the mutation. |
| The start date of the status update. |
| The status of the status update. |
| The ID of the status update to be updated. |
| The target date of the status update. |