Skip to main content

Reference documentation for GraphQL schema types in the Projects category.

Neste artigo

Mutations

addProjectV2DraftIssue

Mutation

Creates a new draft issue and add it to a Project.

Campos de entrada para addProjectV2DraftIssue

Campos de retorno para addProjectV2DraftIssue

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectItem (ProjectV2Item)

The draft issue added to the project.

addProjectV2ItemById

Mutation

Links an existing content instance to a Project.

Campos de entrada para addProjectV2ItemById

Campos de retorno para addProjectV2ItemById

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

item (ProjectV2Item)

The item added to the project.

archiveProjectV2Item

Mutation

Archives a ProjectV2Item.

Campos de entrada para archiveProjectV2Item

Campos de retorno para archiveProjectV2Item

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

item (ProjectV2Item)

The item archived from the project.

clearProjectV2ItemFieldValue

Mutation

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.

Campos de entrada para clearProjectV2ItemFieldValue

Campos de retorno para clearProjectV2ItemFieldValue

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2Item (ProjectV2Item)

The updated item.

convertProjectV2DraftIssueItemToIssue

Mutation

Converts a projectV2 draft issue item to an issue.

Campos de entrada para convertProjectV2DraftIssueItemToIssue

Campos de retorno para convertProjectV2DraftIssueItemToIssue

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

item (ProjectV2Item)

The updated project item.

copyProjectV2

Mutation

Copy a project.

Campos de entrada para copyProjectV2

Campos de retorno para copyProjectV2

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2 (ProjectV2)

The copied project.

createProjectV2

Mutation

Creates a new project.

Campos de entrada para createProjectV2

Campos de retorno para createProjectV2

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2 (ProjectV2)

The new project.

createProjectV2Field

Mutation

Create a new project field.

Campos de entrada para createProjectV2Field

Campos de retorno para createProjectV2Field

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2Field (ProjectV2FieldConfiguration)

The new field.

createProjectV2StatusUpdate

Mutation

Creates a status update within a Project.

Campos de entrada para createProjectV2StatusUpdate

Campos de retorno para createProjectV2StatusUpdate

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

statusUpdate (ProjectV2StatusUpdate)

The status update updated in the project.

deleteProjectV2

Mutation

Delete a project.

Campos de entrada para deleteProjectV2

Campos de retorno para deleteProjectV2

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2 (ProjectV2)

The deleted Project.

deleteProjectV2Field

Mutation

Delete a project field.

Campos de entrada para deleteProjectV2Field

Campos de retorno para deleteProjectV2Field

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2Field (ProjectV2FieldConfiguration)

The deleted field.

deleteProjectV2Item

Mutation

Deletes an item from a Project.

Campos de entrada para deleteProjectV2Item

Campos de retorno para deleteProjectV2Item

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

deletedItemId (ID)

The ID of the deleted item.

deleteProjectV2StatusUpdate

Mutation

Deletes a project status update.

Campos de entrada para deleteProjectV2StatusUpdate

Campos de retorno para deleteProjectV2StatusUpdate

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

deletedStatusUpdateId (ID)

The ID of the deleted status update.

projectV2 (ProjectV2)

The project the deleted status update was in.

deleteProjectV2Workflow

Mutation

Deletes a project workflow.

Campos de entrada para deleteProjectV2Workflow

Campos de retorno para deleteProjectV2Workflow

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

deletedWorkflowId (ID)

The ID of the deleted workflow.

projectV2 (ProjectV2)

The project the deleted workflow was in.

linkProjectV2ToRepository

Mutation

Links a project to a repository.

Campos de entrada para linkProjectV2ToRepository

Campos de retorno para linkProjectV2ToRepository

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository the project is linked to.

linkProjectV2ToTeam

Mutation

Links a project to a team.

Campos de entrada para linkProjectV2ToTeam

Campos de retorno para linkProjectV2ToTeam

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

team (Team)

The team the project is linked to.

markProjectV2AsTemplate

Mutation

Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template.

Campos de entrada para markProjectV2AsTemplate

Campos de retorno para markProjectV2AsTemplate

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2 (ProjectV2)

The project.

unarchiveProjectV2Item

Mutation

Unarchives a ProjectV2Item.

Campos de entrada para unarchiveProjectV2Item

Campos de retorno para unarchiveProjectV2Item

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

item (ProjectV2Item)

The item unarchived from the project.

unlinkProjectV2FromRepository

Mutation

Unlinks a project from a repository.

Campos de entrada para unlinkProjectV2FromRepository

Campos de retorno para unlinkProjectV2FromRepository

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository the project is no longer linked to.

unlinkProjectV2FromTeam

Mutation

Unlinks a project to a team.

Campos de entrada para unlinkProjectV2FromTeam

Campos de retorno para unlinkProjectV2FromTeam

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

team (Team)

The team the project is unlinked from.

unmarkProjectV2AsTemplate

Mutation

Unmark a project as a template.

Campos de entrada para unmarkProjectV2AsTemplate

Campos de retorno para unmarkProjectV2AsTemplate

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2 (ProjectV2)

The project.

updateProjectV2

Mutation

Updates an existing project.

Campos de entrada para updateProjectV2

Campos de retorno para updateProjectV2

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2 (ProjectV2)

The updated Project.

updateProjectV2Collaborators

Mutation

Update the collaborators on a team or a project.

Campos de entrada para updateProjectV2Collaborators

Campos de retorno para updateProjectV2Collaborators

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

collaborators (ProjectV2ActorConnection)

The collaborators granted a role.

updateProjectV2DraftIssue

Mutation

Updates a draft issue within a Project.

Campos de entrada para updateProjectV2DraftIssue

Campos de retorno para updateProjectV2DraftIssue

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

draftIssue (DraftIssue)

The draft issue updated in the project.

updateProjectV2Field

Mutation

Update a project field.

Campos de entrada para updateProjectV2Field

Campos de retorno para updateProjectV2Field

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2Field (ProjectV2FieldConfiguration)

The updated field.

updateProjectV2ItemFieldValue

Mutation

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.

Campos de entrada para updateProjectV2ItemFieldValue

Campos de retorno para updateProjectV2ItemFieldValue

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectV2Item (ProjectV2Item)

The updated item.

updateProjectV2ItemPosition

Mutation

This mutation updates the position of the item in the project, where the position represents the priority of an item.

Campos de entrada para updateProjectV2ItemPosition

Campos de retorno para updateProjectV2ItemPosition

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

items (ProjectV2ItemConnection)

The items in the new order.

updateProjectV2StatusUpdate

Mutation

Updates a status update within a Project.

Campos de entrada para updateProjectV2StatusUpdate

Campos de retorno para updateProjectV2StatusUpdate

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

statusUpdate (ProjectV2StatusUpdate)

The status update updated in the project.

Objects

AddedToProjectV2Event

Object

Represents aadded_to_project_v2event on a given issue or pull request.

AddedToProjectV2Event Implementa

Campos para AddedToProjectV2Event

NomeDescrição

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the AddedToProjectV2Event object.

project (ProjectV2)

Project referenced by event.

wasAutomated (Boolean!)

Did this event result from workflow automation?.

DraftIssue

Object

A draft issue within a project.

DraftIssue Implementa

Campos para DraftIssue

NomeDescrição

assignees (UserConnection!)

A list of users to assigned to this draft issue.

Argumentos para assignees

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

body (String!)

The body of the draft issue.

bodyHTML (HTML!)

The body of the draft issue rendered to HTML.

bodyText (String!)

The body of the draft issue rendered to text.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created this draft issue.

id (ID!)

The Node ID of the DraftIssue object.

projectV2Items (ProjectV2ItemConnection!)

List of items linked with the draft issue (currently draft issue can be linked to only one item).

Argumentos para projectV2Items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

projectsV2 (ProjectV2Connection!)

Projects that link to this draft issue (currently draft issue can be linked to only one project).

Argumentos para projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

title (String!)

The title of the draft issue.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2

Object

New projects that manage issues, pull requests and drafts using tables and boards.

ProjectV2 Implementa

Campos para ProjectV2

NomeDescrição

closed (Boolean!)

Returns true if the project is closed.

closedAt (DateTime)

Identifies the date and time when the object was closed.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who originally created the project.

databaseId (Int)

Identifies the primary key from the database.

Aviso

databaseId is deprecated.

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

field (ProjectV2FieldConfiguration)

A field of the project.

Argumentos para field

  • name (String!)

    The name of the field.

fields (ProjectV2FieldConfigurationConnection!)

List of fields and their constraints in the project.

Argumentos para fields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for project v2 fields returned from the connection.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the ProjectV2 object.

items (ProjectV2ItemConnection!)

List of items in the project.

Argumentos para items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2ItemOrder)

    Ordering options for project v2 items returned from the connection.

  • query (String)

    Search query for filtering items.

    The default value is .

number (Int!)

The project's number.

owner (ProjectV2Owner!)

The project's owner. Currently limited to organizations and users.

public (Boolean!)

Returns true if the project is public.

readme (String)

The project's readme.

repositories (RepositoryConnection!)

The repositories the project is linked to.

Argumentos para repositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

resourcePath (URI!)

The HTTP path for this project.

shortDescription (String)

The project's short description.

statusUpdates (ProjectV2StatusUpdateConnection!)

List of the status updates in the project.

Argumentos para statusUpdates

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

teams (TeamConnection!)

The teams the project is linked to.

Argumentos para teams

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (TeamOrder)

    Ordering options for teams returned from this connection.

template (Boolean!)

Returns true if this project is a template.

title (String!)

The project's name.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (URI!)

The HTTP URL for this project.

view (ProjectV2View)

A view of the project.

Argumentos para view

  • number (Int!)

    The number of a view belonging to the project.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanUpdate (Boolean!)

Check if the current viewer can update this object.

views (ProjectV2ViewConnection!)

List of views in the project.

Argumentos para views

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2ViewOrder)

    Ordering options for project v2 views returned from the connection.

workflow (ProjectV2Workflow)

A workflow of the project.

Argumentos para workflow

  • number (Int!)

    The number of a workflow belonging to the project.

workflows (ProjectV2WorkflowConnection!)

List of the workflows in the project.

Argumentos para workflows

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ActorConnection

Object

The connection type for ProjectV2Actor.

Campos para ProjectV2ActorConnection

NomeDescrição

edges ([ProjectV2ActorEdge])

A list of edges.

nodes ([ProjectV2Actor])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ActorEdge

Object

An edge in a connection.

Campos para ProjectV2ActorEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Actor)

The item at the end of the edge.

ProjectV2Connection

Object

The connection type for ProjectV2.

Campos para ProjectV2Connection

NomeDescrição

edges ([ProjectV2Edge])

A list of edges.

nodes ([ProjectV2])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2Edge

Object

An edge in a connection.

Campos para ProjectV2Edge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2)

The item at the end of the edge.

ProjectV2Field

Object

A field inside a project.

ProjectV2Field Implementa

Campos para ProjectV2Field

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2Field object.

name (String!)

The project field's name.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2FieldConfigurationConnection

Object

The connection type for ProjectV2FieldConfiguration.

Campos para ProjectV2FieldConfigurationConnection

NomeDescrição

edges ([ProjectV2FieldConfigurationEdge])

A list of edges.

nodes ([ProjectV2FieldConfiguration])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2FieldConfigurationEdge

Object

An edge in a connection.

Campos para ProjectV2FieldConfigurationEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2FieldConfiguration)

The item at the end of the edge.

ProjectV2FieldConnection

Object

The connection type for ProjectV2Field.

Campos para ProjectV2FieldConnection

NomeDescrição

edges ([ProjectV2FieldEdge])

A list of edges.

nodes ([ProjectV2Field])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2FieldEdge

Object

An edge in a connection.

Campos para ProjectV2FieldEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Field)

The item at the end of the edge.

ProjectV2Item

Object

An item within a Project.

ProjectV2Item Implementa

Campos para ProjectV2Item

NomeDescrição

content (ProjectV2ItemContent)

The content of the referenced draft issue, issue, or pull request.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

Aviso

databaseId is deprecated.

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

fieldValueByName (ProjectV2ItemFieldValue)

The field value of the first project field which matches thenameargument that is set on the item.

Argumentos para fieldValueByName

  • name (String!)

    The name of the field to return the field value of.

fieldValues (ProjectV2ItemFieldValueConnection!)

The field values that are set on the item.

Argumentos para fieldValues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the ProjectV2Item object.

isArchived (Boolean!)

Whether the item is archived.

project (ProjectV2!)

The project that contains this item.

type (ProjectV2ItemType!)

The type of the item.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2ItemConnection

Object

The connection type for ProjectV2Item.

Campos para ProjectV2ItemConnection

NomeDescrição

edges ([ProjectV2ItemEdge])

A list of edges.

nodes ([ProjectV2Item])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ItemEdge

Object

An edge in a connection.

Campos para ProjectV2ItemEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Item)

The item at the end of the edge.

ProjectV2ItemFieldDateValue

Object

The value of a date field in a Project item.

ProjectV2ItemFieldDateValue Implementa

Campos para ProjectV2ItemFieldDateValue

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

date (Date)

Date value for the field.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldDateValue object.

item (ProjectV2Item!)

The project item that contains this value.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2ItemFieldIterationValue

Object

The value of an iteration field in a Project item.

ProjectV2ItemFieldIterationValue Implementa

Campos para ProjectV2ItemFieldIterationValue

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

duration (Int!)

The duration of the iteration in days.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldIterationValue object.

item (ProjectV2Item!)

The project item that contains this value.

iterationId (String!)

The ID of the iteration.

startDate (Date!)

The start date of the iteration.

title (String!)

The title of the iteration.

titleHTML (String!)

The title of the iteration, with HTML.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2ItemFieldLabelValue

Object

The value of the labels field in a Project item.

Campos para ProjectV2ItemFieldLabelValue

NomeDescrição

field (ProjectV2FieldConfiguration!)

The field that contains this value.

labels (LabelConnection)

Labels value of a field.

Argumentos para labels

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldMilestoneValue

Object

The value of a milestone field in a Project item.

Campos para ProjectV2ItemFieldMilestoneValue

NomeDescrição

field (ProjectV2FieldConfiguration!)

The field that contains this value.

milestone (Milestone)

Milestone value of a field.

ProjectV2ItemFieldNumberValue

Object

The value of a number field in a Project item.

ProjectV2ItemFieldNumberValue Implementa

Campos para ProjectV2ItemFieldNumberValue

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldNumberValue object.

item (ProjectV2Item!)

The project item that contains this value.

number (Float)

Number as a float(8).

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2ItemFieldPullRequestValue

Object

The value of a pull request field in a Project item.

Campos para ProjectV2ItemFieldPullRequestValue

NomeDescrição

field (ProjectV2FieldConfiguration!)

The field that contains this value.

pullRequests (PullRequestConnection)

The pull requests for this field.

Argumentos para pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldRepositoryValue

Object

The value of a repository field in a Project item.

Campos para ProjectV2ItemFieldRepositoryValue

NomeDescrição

field (ProjectV2FieldConfiguration!)

The field that contains this value.

repository (Repository)

The repository for this field.

ProjectV2ItemFieldReviewerValue

Object

The value of a reviewers field in a Project item.

Campos para ProjectV2ItemFieldReviewerValue

NomeDescrição

field (ProjectV2FieldConfiguration!)

The field that contains this value.

reviewers (RequestedReviewerConnection)

The reviewers for this field.

Argumentos para reviewers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldSingleSelectValue

Object

The value of a single select field in a Project item.

ProjectV2ItemFieldSingleSelectValue Implementa

Campos para ProjectV2ItemFieldSingleSelectValue

NomeDescrição

color (ProjectV2SingleSelectFieldOptionColor!)

The color applied to the selected single-select option.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

description (String)

A plain-text description of the selected single-select option, such as what the option means.

descriptionHTML (String)

The description of the selected single-select option, including HTML tags.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldSingleSelectValue object.

item (ProjectV2Item!)

The project item that contains this value.

name (String)

The name of the selected single select option.

nameHTML (String)

The html name of the selected single select option.

optionId (String)

The id of the selected single select option.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2ItemFieldTextValue

Object

The value of a text field in a Project item.

ProjectV2ItemFieldTextValue Implementa

Campos para ProjectV2ItemFieldTextValue

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldTextValue object.

item (ProjectV2Item!)

The project item that contains this value.

text (String)

Text value of a field.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2ItemFieldUserValue

Object

The value of a user field in a Project item.

Campos para ProjectV2ItemFieldUserValue

NomeDescrição

field (ProjectV2FieldConfiguration!)

The field that contains this value.

users (UserConnection)

The users for this field.

Argumentos para users

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ProjectV2ItemFieldValueConnection

Object

The connection type for ProjectV2ItemFieldValue.

Campos para ProjectV2ItemFieldValueConnection

NomeDescrição

edges ([ProjectV2ItemFieldValueEdge])

A list of edges.

nodes ([ProjectV2ItemFieldValue])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ItemFieldValueEdge

Object

An edge in a connection.

Campos para ProjectV2ItemFieldValueEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2ItemFieldValue)

The item at the end of the edge.

ProjectV2ItemStatusChangedEvent

Object

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

ProjectV2ItemStatusChangedEvent Implementa

Campos para ProjectV2ItemStatusChangedEvent

NomeDescrição

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ProjectV2ItemStatusChangedEvent object.

previousStatus (String!)

The previous status of the project item.

project (ProjectV2)

Project referenced by event.

status (String!)

The new status of the project item.

wasAutomated (Boolean!)

Did this event result from workflow automation?.

ProjectV2IterationField

Object

An iteration field inside a project.

ProjectV2IterationField Implementa

Campos para ProjectV2IterationField

NomeDescrição

configuration (ProjectV2IterationFieldConfiguration!)

Iteration configuration settings.

createdAt (DateTime!)

Identifies the date and time when the object was created.

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2IterationField object.

name (String!)

The project field's name.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2IterationFieldConfiguration

Object

Iteration field configuration for a project.

Campos para ProjectV2IterationFieldConfiguration

NomeDescrição

completedIterations ([ProjectV2IterationFieldIteration!]!)

The iteration's completed iterations.

duration (Int!)

The iteration's duration in days.

iterations ([ProjectV2IterationFieldIteration!]!)

The iteration's iterations.

startDay (Int!)

The iteration's start day of the week.

ProjectV2IterationFieldIteration

Object

Iteration field iteration settings for a project.

Campos para ProjectV2IterationFieldIteration

NomeDescrição

duration (Int!)

The iteration's duration in days.

id (String!)

The iteration's ID.

startDate (Date!)

The iteration's start date.

title (String!)

The iteration's title.

titleHTML (String!)

The iteration's html title.

ProjectV2SingleSelectField

Object

A single select field inside a project.

ProjectV2SingleSelectField Implementa

Campos para ProjectV2SingleSelectField

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2SingleSelectField object.

name (String!)

The project field's name.

options ([ProjectV2SingleSelectFieldOption!]!)

Options for the single select field.

Argumentos para options

  • names ([String!])

    Filter returned options to only those matching these names, case insensitive.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2SingleSelectFieldOption

Object

Single select field option for a configuration for a project.

Campos para ProjectV2SingleSelectFieldOption

NomeDescrição

color (ProjectV2SingleSelectFieldOptionColor!)

The option's display color.

description (String!)

The option's plain-text description.

descriptionHTML (String!)

The option's description, possibly containing HTML.

id (String!)

The option's ID.

name (String!)

The option's name.

nameHTML (String!)

The option's html name.

ProjectV2SortBy

Object

Represents a sort by field and direction.

Campos para ProjectV2SortBy

NomeDescrição

direction (OrderDirection!)

The direction of the sorting. Possible values are ASC and DESC.

field (ProjectV2Field!)

The field by which items are sorted.

ProjectV2SortByConnection

Object

The connection type for ProjectV2SortBy.

Campos para ProjectV2SortByConnection

NomeDescrição

edges ([ProjectV2SortByEdge])

A list of edges.

nodes ([ProjectV2SortBy])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2SortByEdge

Object

An edge in a connection.

Campos para ProjectV2SortByEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2SortBy)

The item at the end of the edge.

ProjectV2SortByField

Object

Represents a sort by field and direction.

Campos para ProjectV2SortByField

NomeDescrição

direction (OrderDirection!)

The direction of the sorting. Possible values are ASC and DESC.

field (ProjectV2FieldConfiguration!)

The field by which items are sorted.

ProjectV2SortByFieldConnection

Object

The connection type for ProjectV2SortByField.

Campos para ProjectV2SortByFieldConnection

NomeDescrição

edges ([ProjectV2SortByFieldEdge])

A list of edges.

nodes ([ProjectV2SortByField])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2SortByFieldEdge

Object

An edge in a connection.

Campos para ProjectV2SortByFieldEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2SortByField)

The item at the end of the edge.

ProjectV2StatusUpdate

Object

A status update within a project.

ProjectV2StatusUpdate Implementa

Campos para ProjectV2StatusUpdate

NomeDescrição

body (String)

The body of the status update.

bodyHTML (HTML)

The body of the status update rendered to HTML.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the status update.

databaseId (Int)

Identifies the primary key from the database.

Aviso

databaseId is deprecated.

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the ProjectV2StatusUpdate object.

project (ProjectV2!)

The project that contains this status update.

startDate (Date)

The start date of the status update.

status (ProjectV2StatusUpdateStatus)

The status of the status update.

targetDate (Date)

The target date of the status update.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2StatusUpdateConnection

Object

The connection type for ProjectV2StatusUpdate.

Campos para ProjectV2StatusUpdateConnection

NomeDescrição

edges ([ProjectV2StatusUpdateEdge])

A list of edges.

nodes ([ProjectV2StatusUpdate])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2StatusUpdateEdge

Object

An edge in a connection.

Campos para ProjectV2StatusUpdateEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2StatusUpdate)

The item at the end of the edge.

ProjectV2View

Object

A view within a ProjectV2.

ProjectV2View Implementa

Campos para ProjectV2View

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

Aviso

databaseId is deprecated.

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

fields (ProjectV2FieldConfigurationConnection)

The view's visible fields.

Argumentos para fields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

filter (String)

The project view's filter.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

groupBy (ProjectV2FieldConnection)

The view's group-by field.

Aviso

groupBy is deprecated.

The ProjectV2View#order_by API is deprecated in favour of the more capable ProjectV2View#group_by_field API. Check out the ProjectV2View#group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Argumentos para groupBy

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

groupByFields (ProjectV2FieldConfigurationConnection)

The view's group-by field.

Argumentos para groupByFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

id (ID!)

The Node ID of the ProjectV2View object.

layout (ProjectV2ViewLayout!)

The project view's layout.

name (String!)

The project view's name.

number (Int!)

The project view's number.

project (ProjectV2!)

The project that contains this view.

sortBy (ProjectV2SortByConnection)

The view's sort-by config.

Aviso

sortBy is deprecated.

The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Argumentos para sortBy

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

sortByFields (ProjectV2SortByFieldConnection)

The view's sort-by config.

Argumentos para sortByFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

verticalGroupBy (ProjectV2FieldConnection)

The view's vertical-group-by field.

Aviso

verticalGroupBy is deprecated.

The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Argumentos para verticalGroupBy

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

verticalGroupByFields (ProjectV2FieldConfigurationConnection)

The view's vertical-group-by field.

Argumentos para verticalGroupByFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

visibleFields (ProjectV2FieldConnection)

The view's visible fields.

Aviso

visibleFields is deprecated.

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API. Check out the ProjectV2View#fields API as an example for the more capable alternative. Removal on 2023-01-01 UTC.

Argumentos para visibleFields

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

ProjectV2ViewConnection

Object

The connection type for ProjectV2View.

Campos para ProjectV2ViewConnection

NomeDescrição

edges ([ProjectV2ViewEdge])

A list of edges.

nodes ([ProjectV2View])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2ViewEdge

Object

An edge in a connection.

Campos para ProjectV2ViewEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2View)

The item at the end of the edge.

ProjectV2Workflow

Object

A workflow inside a project.

ProjectV2Workflow Implementa

Campos para ProjectV2Workflow

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

Aviso

databaseId is deprecated.

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

enabled (Boolean!)

Whether the workflow is enabled.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the ProjectV2Workflow object.

name (String!)

The name of the workflow.

number (Int!)

The number of the workflow.

project (ProjectV2!)

The project that contains this workflow.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2WorkflowConnection

Object

The connection type for ProjectV2Workflow.

Campos para ProjectV2WorkflowConnection

NomeDescrição

edges ([ProjectV2WorkflowEdge])

A list of edges.

nodes ([ProjectV2Workflow])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ProjectV2WorkflowEdge

Object

An edge in a connection.

Campos para ProjectV2WorkflowEdge

NomeDescrição

cursor (String!)

A cursor for use in pagination.

node (ProjectV2Workflow)

The item at the end of the edge.

RemovedFromProjectV2Event

Object

Represents aremoved_from_project_v2event on a given issue or pull request.

RemovedFromProjectV2Event Implementa

Campos para RemovedFromProjectV2Event

NomeDescrição

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the RemovedFromProjectV2Event object.

project (ProjectV2)

Project referenced by event.

wasAutomated (Boolean!)

Did this event result from workflow automation?.

Interfaces

ProjectV2Event

Interface

Represents an event related to a project on the timeline of an issue or pull request.

ProjectV2Event é implementado por

Campos para ProjectV2Event

NomeDescrição

project (ProjectV2)

Project referenced by event.

wasAutomated (Boolean!)

Did this event result from workflow automation?.

ProjectV2FieldCommon

Interface

Common fields across different project field types.

ProjectV2FieldCommon é implementado por

Campos para ProjectV2FieldCommon

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ProjectV2FieldCommon object.

name (String!)

The project field's name.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2ItemFieldValueCommon

Interface

Common fields across different project field value types.

ProjectV2ItemFieldValueCommon é implementado por

Campos para ProjectV2ItemFieldValueCommon

NomeDescrição

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

The actor who created the item.

databaseId (Int)

Identifies the primary key from the database.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldValueCommon object.

item (ProjectV2Item!)

The project item that contains this value.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

ProjectV2Owner

Interface

Represents an owner of a project.

ProjectV2Owner é implementado por

Campos para ProjectV2Owner

NomeDescrição

id (ID!)

The Node ID of the ProjectV2Owner object.

projectV2 (ProjectV2)

Find a project by number.

Argumentos para projectV2

  • number (Int!)

    The project number.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Argumentos para projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for under the owner.

ProjectV2Recent

Interface

Recent projects for the owner.

ProjectV2Recent é implementado por

Campos para ProjectV2Recent

NomeDescrição

recentProjects (ProjectV2Connection!)

Recent projects that this user has modified in the context of the owner.

Argumentos para recentProjects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

Enums

ProjectV2CustomFieldType

Enum

The type of a project field.

Valores para ProjectV2CustomFieldType

NomeDescrição
DATE

Date.

ITERATION

Iteration.

NUMBER

Number.

SINGLE_SELECT

Single Select.

TEXT

Text.

ProjectV2FieldOrderField

Enum

Properties by which project v2 field connections can be ordered.

Valores para ProjectV2FieldOrderField

NomeDescrição
CREATED_AT

Order project v2 fields by creation time.

NAME

Order project v2 fields by name.

POSITION

Order project v2 fields by position.

ProjectV2FieldType

Enum

The type of a project field.

Valores para ProjectV2FieldType

NomeDescrição
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

Enum

Properties by which project v2 item field value connections can be ordered.

Valores para ProjectV2ItemFieldValueOrderField

NomeDescrição
POSITION

Order project v2 item field values by the their position in the project.

ProjectV2ItemOrderField

Enum

Properties by which project v2 item connections can be ordered.

Valores para ProjectV2ItemOrderField

NomeDescrição
POSITION

Order project v2 items by the their position in the project.

ProjectV2ItemType

Enum

The type of a project item.

Valores para ProjectV2ItemType

NomeDescrição
DRAFT_ISSUE

Draft Issue.

ISSUE

Issue.

PULL_REQUEST

Pull Request.

REDACTED

Redacted Item.

ProjectV2OrderField

Enum

Properties by which projects can be ordered.

Valores para ProjectV2OrderField

NomeDescrição
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

Enum

The possible roles of a collaborator on a project.

Valores para ProjectV2PermissionLevel

NomeDescrição
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

Enum

The possible roles of a collaborator on a project.

Valores para ProjectV2Roles

NomeDescrição
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

Enum

The display color of a single-select field option.

Valores para ProjectV2SingleSelectFieldOptionColor

NomeDescrição
BLUE

BLUE.

GRAY

GRAY.

GREEN

GREEN.

ORANGE

ORANGE.

PINK

PINK.

PURPLE

PURPLE.

RED

RED.

YELLOW

YELLOW.

ProjectV2State

Enum

The possible states of a project v2.

Valores para ProjectV2State

NomeDescrição
CLOSED

A project v2 that has been closed.

OPEN

A project v2 that is still open.

ProjectV2StatusUpdateOrderField

Enum

Properties by which project v2 status updates can be ordered.

Valores para ProjectV2StatusUpdateOrderField

NomeDescrição
CREATED_AT

Allows chronological ordering of project v2 status updates.

ProjectV2StatusUpdateStatus

Enum

The possible statuses of a project v2.

Valores para ProjectV2StatusUpdateStatus

NomeDescrição
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

Enum

The layout of a project v2 view.

Valores para ProjectV2ViewLayout

NomeDescrição
BOARD_LAYOUT

Board layout.

ROADMAP_LAYOUT

Roadmap layout.

TABLE_LAYOUT

Table layout.

ProjectV2ViewOrderField

Enum

Properties by which project v2 view connections can be ordered.

Valores para ProjectV2ViewOrderField

NomeDescrição
CREATED_AT

Order project v2 views by creation time.

NAME

Order project v2 views by name.

POSITION

Order project v2 views by position.

ProjectV2WorkflowsOrderField

Enum

Properties by which project workflows can be ordered.

Valores para ProjectV2WorkflowsOrderField

NomeDescrição
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

Union

Used for argument of CreateProjectV2 mutation.

Os possíveis tipos para OrganizationOrUser

ProjectV2Actor

Union

Possible collaborators for a project.

Os possíveis tipos para ProjectV2Actor

ProjectV2FieldConfiguration

Union

Configurations for project fields.

Os possíveis tipos para ProjectV2FieldConfiguration

ProjectV2ItemContent

Union

Types that can be inside Project Items.

Os possíveis tipos para ProjectV2ItemContent

ProjectV2ItemFieldValue

Union

Project field values.

Os possíveis tipos para ProjectV2ItemFieldValue

Input objects

AddProjectV2DraftIssueInput

Input object

Autogenerated input type of AddProjectV2DraftIssue.

Campos de entrada para AddProjectV2DraftIssueInput

NomeDescrição

assigneeIds ([ID!])

The IDs of the assignees of the draft issue.

body (String)

The body of the draft issue.

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the Project to add the draft issue to.

title (String!)

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

Input object

Autogenerated input type of AddProjectV2ItemById.

Campos de entrada para AddProjectV2ItemByIdInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

contentId (ID!)

The id of the Issue or Pull Request to add.

projectId (ID!)

The ID of the Project to add the item to.

ArchiveProjectV2ItemInput

Input object

Autogenerated input type of ArchiveProjectV2Item.

Campos de entrada para ArchiveProjectV2ItemInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

itemId (ID!)

The ID of the ProjectV2Item to archive.

projectId (ID!)

The ID of the Project to archive the item from.

ClearProjectV2ItemFieldValueInput

Input object

Autogenerated input type of ClearProjectV2ItemFieldValue.

Campos de entrada para ClearProjectV2ItemFieldValueInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

fieldId (ID!)

The ID of the field to be cleared.

itemId (ID!)

The ID of the item to be cleared.

projectId (ID!)

The ID of the Project.

ConvertProjectV2DraftIssueItemToIssueInput

Input object

Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue.

Campos de entrada para ConvertProjectV2DraftIssueItemToIssueInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

itemId (ID!)

The ID of the draft issue ProjectV2Item to convert.

repositoryId (ID!)

The ID of the repository to create the issue in.

CopyProjectV2Input

Input object

Autogenerated input type of CopyProjectV2.

Campos de entrada para CopyProjectV2Input

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

includeDraftIssues (Boolean)

Include draft issues in the new project.

ownerId (ID!)

The owner ID of the new project.

projectId (ID!)

The ID of the source Project to copy.

title (String!)

The title of the project.

CreateProjectV2FieldInput

Input object

Autogenerated input type of CreateProjectV2Field.

Campos de entrada para CreateProjectV2FieldInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

dataType (ProjectV2CustomFieldType!)

The data type of the field.

iterationConfiguration (ProjectV2IterationFieldConfigurationInput)

Configuration for an iteration field.

name (String!)

The name of the field.

projectId (ID!)

The ID of the Project to create the field in.

singleSelectOptions ([ProjectV2SingleSelectFieldOptionInput!])

Options for a single select field. At least one value is required if data_type is SINGLE_SELECT.

CreateProjectV2Input

Input object

Autogenerated input type of CreateProjectV2.

Campos de entrada para CreateProjectV2Input

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

ownerId (ID!)

The owner ID to create the project under.

repositoryId (ID)

The repository to link the project to.

teamId (ID)

The team to link the project to. The team will be granted read permissions.

title (String!)

The title of the project.

CreateProjectV2StatusUpdateInput

Input object

Autogenerated input type of CreateProjectV2StatusUpdate.

Campos de entrada para CreateProjectV2StatusUpdateInput

NomeDescrição

body (String)

The body of the status update.

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the Project to create the status update in.

startDate (Date)

The start date of the status update.

status (ProjectV2StatusUpdateStatus)

The status of the status update.

targetDate (Date)

The target date of the status update.

DeleteProjectV2FieldInput

Input object

Autogenerated input type of DeleteProjectV2Field.

Campos de entrada para DeleteProjectV2FieldInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

fieldId (ID!)

The ID of the field to delete.

DeleteProjectV2Input

Input object

Autogenerated input type of DeleteProjectV2.

Campos de entrada para DeleteProjectV2Input

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the Project to delete.

DeleteProjectV2ItemInput

Input object

Autogenerated input type of DeleteProjectV2Item.

Campos de entrada para DeleteProjectV2ItemInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

itemId (ID!)

The ID of the item to be removed.

projectId (ID!)

The ID of the Project from which the item should be removed.

DeleteProjectV2StatusUpdateInput

Input object

Autogenerated input type of DeleteProjectV2StatusUpdate.

Campos de entrada para DeleteProjectV2StatusUpdateInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

statusUpdateId (ID!)

The ID of the status update to be removed.

DeleteProjectV2WorkflowInput

Input object

Autogenerated input type of DeleteProjectV2Workflow.

Campos de entrada para DeleteProjectV2WorkflowInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

workflowId (ID!)

The ID of the workflow to be removed.

LinkProjectV2ToRepositoryInput

Input object

Autogenerated input type of LinkProjectV2ToRepository.

Campos de entrada para LinkProjectV2ToRepositoryInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the project to link to the repository.

repositoryId (ID!)

The ID of the repository to link to the project.

LinkProjectV2ToTeamInput

Input object

Autogenerated input type of LinkProjectV2ToTeam.

Campos de entrada para LinkProjectV2ToTeamInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the project to link to the team.

teamId (ID!)

The ID of the team to link to the project.

MarkProjectV2AsTemplateInput

Input object

Autogenerated input type of MarkProjectV2AsTemplate.

Campos de entrada para MarkProjectV2AsTemplateInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the Project to mark as a template.

ProjectV2Collaborator

Input object

A collaborator to update on a project. Only one of the userId or teamId should be provided.

Campos de entrada para ProjectV2Collaborator

NomeDescrição

role (ProjectV2Roles!)

The role to grant the collaborator.

teamId (ID)

The ID of the team as a collaborator.

userId (ID)

The ID of the user as a collaborator.

ProjectV2FieldOrder

Input object

Ordering options for project v2 field connections.

Campos de entrada para ProjectV2FieldOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (ProjectV2FieldOrderField!)

The field to order the project v2 fields by.

ProjectV2FieldValue

Input object

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.

Campos de entrada para ProjectV2FieldValue

NomeDescrição

date (Date)

The ISO 8601 date to set on the field.

iterationId (String)

The id of the iteration to set on the field.

number (Float)

The number to set on the field.

singleSelectOptionId (String)

The id of the single select option to set on the field.

text (String)

The text to set on the field.

ProjectV2Filters

Input object

Ways in which to filter lists of projects.

Campos de entrada para ProjectV2Filters

NomeDescrição

state (ProjectV2State)

List project v2 filtered by the state given.

ProjectV2ItemFieldValueOrder

Input object

Ordering options for project v2 item field value connections.

Campos de entrada para ProjectV2ItemFieldValueOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (ProjectV2ItemFieldValueOrderField!)

The field to order the project v2 item field values by.

ProjectV2ItemOrder

Input object

Ordering options for project v2 item connections.

Campos de entrada para ProjectV2ItemOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (ProjectV2ItemOrderField!)

The field to order the project v2 items by.

ProjectV2Iteration

Input object

Represents an iteration.

Campos de entrada para ProjectV2Iteration

NomeDescrição

duration (Int!)

The duration of the iteration, in days.

startDate (Date!)

The start date for the iteration.

title (String!)

The title for the iteration.

ProjectV2IterationFieldConfigurationInput

Input object

Represents an iteration field configuration.

Campos de entrada para ProjectV2IterationFieldConfigurationInput

NomeDescrição

duration (Int!)

The duration of each iteration, in days.

iterations ([ProjectV2Iteration!]!)

Zero or more iterations for the field.

startDate (Date!)

The start date for the first iteration.

ProjectV2Order

Input object

Ways in which lists of projects can be ordered upon return.

Campos de entrada para ProjectV2Order

NomeDescrição

direction (OrderDirection!)

The direction in which to order projects by the specified field.

field (ProjectV2OrderField!)

The field in which to order projects by.

ProjectV2SingleSelectFieldOptionInput

Input object

Represents a single select field option.

Campos de entrada para ProjectV2SingleSelectFieldOptionInput

NomeDescrição

color (ProjectV2SingleSelectFieldOptionColor!)

The display color of the option.

description (String!)

The description text of the option.

name (String!)

The name of the option.

ProjectV2StatusOrder

Input object

Ways in which project v2 status updates can be ordered.

Campos de entrada para ProjectV2StatusOrder

NomeDescrição

direction (OrderDirection!)

The direction in which to order nodes.

field (ProjectV2StatusUpdateOrderField!)

The field by which to order nodes.

ProjectV2ViewOrder

Input object

Ordering options for project v2 view connections.

Campos de entrada para ProjectV2ViewOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (ProjectV2ViewOrderField!)

The field to order the project v2 views by.

ProjectV2WorkflowOrder

Input object

Ordering options for project v2 workflows connections.

Campos de entrada para ProjectV2WorkflowOrder

NomeDescrição

direction (OrderDirection!)

The ordering direction.

field (ProjectV2WorkflowsOrderField!)

The field to order the project v2 workflows by.

UnarchiveProjectV2ItemInput

Input object

Autogenerated input type of UnarchiveProjectV2Item.

Campos de entrada para UnarchiveProjectV2ItemInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

itemId (ID!)

The ID of the ProjectV2Item to unarchive.

projectId (ID!)

The ID of the Project to archive the item from.

UnlinkProjectV2FromRepositoryInput

Input object

Autogenerated input type of UnlinkProjectV2FromRepository.

Campos de entrada para UnlinkProjectV2FromRepositoryInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the project to unlink from the repository.

repositoryId (ID!)

The ID of the repository to unlink from the project.

UnlinkProjectV2FromTeamInput

Input object

Autogenerated input type of UnlinkProjectV2FromTeam.

Campos de entrada para UnlinkProjectV2FromTeamInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the project to unlink from the team.

teamId (ID!)

The ID of the team to unlink from the project.

UnmarkProjectV2AsTemplateInput

Input object

Autogenerated input type of UnmarkProjectV2AsTemplate.

Campos de entrada para UnmarkProjectV2AsTemplateInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

projectId (ID!)

The ID of the Project to unmark as a template.

UpdateProjectV2CollaboratorsInput

Input object

Autogenerated input type of UpdateProjectV2Collaborators.

Campos de entrada para UpdateProjectV2CollaboratorsInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

collaborators ([ProjectV2Collaborator!]!)

The collaborators to update.

projectId (ID!)

The ID of the project to update the collaborators for.

UpdateProjectV2DraftIssueInput

Input object

Autogenerated input type of UpdateProjectV2DraftIssue.

Campos de entrada para UpdateProjectV2DraftIssueInput

NomeDescrição

assigneeIds ([ID!])

The IDs of the assignees of the draft issue.

body (String)

The body of the draft issue.

clientMutationId (String)

A unique identifier for the client performing the mutation.

draftIssueId (ID!)

The ID of the draft issue to update.

title (String)

The title of the draft issue.

UpdateProjectV2FieldInput

Input object

Autogenerated input type of UpdateProjectV2Field.

Campos de entrada para UpdateProjectV2FieldInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

fieldId (ID!)

The ID of the field to update.

iterationConfiguration (ProjectV2IterationFieldConfigurationInput)

Configuration for a field of type ITERATION. Empty input is ignored, provided values overwrite the existing configuration, and existing configuration should be fetched for partial updates.

name (String)

The name to update.

singleSelectOptions ([ProjectV2SingleSelectFieldOptionInput!])

Options for a field of type SINGLE_SELECT. Empty input is ignored, provided values overwrite existing options, and existing options should be fetched for partial updates.

UpdateProjectV2Input

Input object

Autogenerated input type of UpdateProjectV2.

Campos de entrada para UpdateProjectV2Input

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

closed (Boolean)

Set the project to closed or open.

projectId (ID!)

The ID of the Project to update.

public (Boolean)

Set the project to public or private.

readme (String)

Set the readme description of the project.

shortDescription (String)

Set the short description of the project.

title (String)

Set the title of the project.

UpdateProjectV2ItemFieldValueInput

Input object

Autogenerated input type of UpdateProjectV2ItemFieldValue.

Campos de entrada para UpdateProjectV2ItemFieldValueInput

NomeDescrição

clientMutationId (String)

A unique identifier for the client performing the mutation.

fieldId (ID!)

The ID of the field to be updated.

itemId (ID!)

The ID of the item to be updated.

projectId (ID!)

The ID of the Project.

value (ProjectV2FieldValue!)

The value which will be set on the field.

UpdateProjectV2ItemPositionInput

Input object

Autogenerated input type of UpdateProjectV2ItemPosition.

Campos de entrada para UpdateProjectV2ItemPositionInput

NomeDescrição

afterId (ID)

The ID of the item to position this item after. If omitted or set to null the item will be moved to top.

clientMutationId (String)

A unique identifier for the client performing the mutation.

itemId (ID!)

The ID of the item to be moved.

projectId (ID!)

The ID of the Project.

UpdateProjectV2StatusUpdateInput

Input object

Autogenerated input type of UpdateProjectV2StatusUpdate.

Campos de entrada para UpdateProjectV2StatusUpdateInput

NomeDescrição

body (String)

The body of the status update.

clientMutationId (String)

A unique identifier for the client performing the mutation.

startDate (Date)

The start date of the status update.

status (ProjectV2StatusUpdateStatus)

The status of the status update.

statusUpdateId (ID!)

The ID of the status update to be updated.

targetDate (Date)

The target date of the status update.