---
title: "List project fields for user"
method: GET
path: "/users/{username}/projectsV2/{project_number}/fields"
tags: ["projects"]
---

# List project fields for user

`GET /users/{username}/projectsV2/{project_number}/fields`

List all fields for a specific user-owned project.

## Path parameters

- `project_number` integer, required
- `username` string, required

## Query parameters

- `per_page` integer
- `before` string
- `after` string

## Response `200`

Response

- ProjectsV2Field[]
  - `id` integer, required — The unique identifier of the field.
  - `issue_field_id` integer — The ID of the issue field.
  - `node_id` string — The node ID of the field.
  - `project_url` string, required — The API URL of the project that contains the field.
  - `name` string, required — The name of the field.
  - `data_type` 'assignees' | 'linked_pull_requests' | 'reviewers' | 'labels' | 'milestone' | 'repository' | 'title' | 'text' | 'single_select' | 'number' | 'date' | 'iteration' | 'issue_type' | 'parent_issue' | 'sub_issues_progress', required — The field's data type.
  - `options` ProjectsV2SingleSelectOptions[] — The options available for single select fields.
    - `id` string, required — The unique identifier of the option.
    - `name` object, required — The display name of the option, in raw text and HTML formats.
      - `raw` string, required
      - `html` string, required
    - `description` object, required — The description of the option, in raw text and HTML formats.
      - `raw` string, required
      - `html` string, required
    - `color` string, required — The color associated with the option.
  - `configuration` object — Configuration for iteration fields.
    - `start_day` integer — The day of the week when the iteration starts.
    - `duration` integer — The duration of the iteration in days.
    - `iterations` ProjectsV2IterationSettings[]
      - `id` string, required — The unique identifier of the iteration setting.
      - `start_date` string, date, required — The start date of the iteration.
      - `duration` integer, required — The duration of the iteration in days.
      - `title` object, required — The iteration title, in raw text and HTML formats.
        - `raw` string, required
        - `html` string, required
      - `completed` boolean, required — Whether the iteration has been completed.
  - `created_at` string, date-time, required — The time when the field was created.
  - `updated_at` string, date-time, required — The time when the field was last updated.

## Other responses

- `304` — Not modified
- `401` — Requires authentication
- `403` — Forbidden

---

[API](https://skmtc.net/github/apis/github-v3-rest-api.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api/versions/a367f7028301/schema)
