Sample - GitHub REST API
GET/orgs/{org}/projectsV2/{project_number}/fields/{field_id}

Get project field for organization

Get a specific field for an organization-owned project.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
project_numberintegerrequired
The project's number.
field_idintegerrequired
The unique identifier of the field.
orgstringrequired
The organization name. The name is not case sensitive.

4 status codes
200Response
idintegerrequired
The unique identifier of the field.
issue_field_idintegeroptional
The ID of the issue field.
node_idstringoptional
The node ID of the field.
project_urlstringrequired
The API URL of the project that contains the field.
namestringrequired
The name of the field.
data_typestringrequired
The field's data type.
Allowed:assigneeslinked_pull_requestsreviewerslabelsmilestonerepositorytitletextsingle_selectnumberdateiteration
optionsarray<ProjectsV2SingleSelectOption>optional
The options available for single select fields.
configurationobjectoptional
Configuration for iteration fields.
created_atstringrequired
The time when the field was created.
updated_atstringrequired
The time when the field was last updated.
304Not modified
401Requires authentication
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 401 is returned: Requires authentication. A 403 is returned: Forbidden.