Sample - GitHub REST API
GET/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values

List issue field values for an issue

Lists the custom issue field values assigned to a specific issue in a repository. Use owner, repo, and issue_number to identify the issue, and use data_type in each returned value to interpret its content. Use page and per_page to paginate the results.

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

5 parameters
ownerstringrequired
The account owner of the repository; the name is not case sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case sensitive.
issue_numberintegerrequired
The integer identifying the issue whose field values you want to list.
per_pageintegeroptional
The number of results per page. Defaults to 30 when omitted.
Default:30
pageintegeroptional
The page number to fetch. Defaults to 1 when omitted.
Default:1

4 status codes
200Returns an array of issue field value objects containing the field identifier, data type, and assigned value; select fields can include option details.
issue_field_idintegerrequired
Unique identifier for the issue field.
issue_field_namestringoptional
The human-readable name of the issue field.
node_idstringrequired
data_typestringrequired
The data type of the issue field
Allowed:textsingle_selectmulti_selectnumberdate
valuestringrequired
The value of the issue field
single_select_optionobjectoptional
Details about the selected option (only present for single_select fields)
multi_select_optionsarray<object>optional
Details about the selected options
301Returned when the repository or issue URL has moved permanently.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the specified repository or issue cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
410Returned when the endpoint is no longer available.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned when the specified repository or issue cannot be found. A 410 is returned when the endpoint is no longer available. owner, repo, and issue_number must identify the issue whose field values you want to retrieve.