REST API はバージョン化されました。 詳細については、「API のバージョン管理について」を参照してください。
問題フィールド値の REST API エンドポイント
REST API を使用して、問題の問題フィールド値を表示および管理します。
List issue field values for an issue
Lists all issue field values for an issue.
fine_grained_access
works_with_fine_grained_tokens:
permission_set:
- "Issues" repository permissions (read)
allows_public_read_access
"List issue field values for an issue" のパラメーター
| 名前, タイプ, 説明 |
|---|
accept string Setting to |
| 名前, タイプ, 説明 |
|---|
owner string 必須The account owner of the repository. The name is not case sensitive. |
repo string 必須The name of the repository without the |
issue_number integer 必須The number that identifies the issue. |
| 名前, タイプ, 説明 |
|---|
per_page integer The number of results per page (max 100). For more information, see "Using pagination in the REST API." デフォルト: |
page integer The page number of the results to fetch. For more information, see "Using pagination in the REST API." デフォルト: |
http_status_code
| status_code | 説明 |
|---|---|
200 | OK |
301 | Moved permanently |
404 | Resource not found |
410 | Gone |
code_samples
request_example
get /repos /{owner} /{repo} /issues /{issue_ number} /issue-field-values
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "X-GitHub-Api-Version: 2022-11-28" \
http(s)://HOSTNAME/api/v3/repos/OWNER/REPO/issues/ISSUE_NUMBER/issue-field-valuesResponse
Status: 200[
{
"issue_field_id": 1,
"node_id": "IFT_GDKND",
"data_type": "text",
"value": "DRI"
},
{
"issue_field_id": 2,
"node_id": "IFSS_SADMS",
"data_type": "single_select",
"value": 1,
"single_select_option": {
"id": 1,
"name": "High",
"color": "red"
}
},
{
"issue_field_id": 3,
"node_id": "IFN_POINTS",
"data_type": "number",
"value": 42
},
{
"issue_field_id": 4,
"node_id": "IFD_DUEDATE",
"data_type": "date",
"value": "2025-12-25"
}
]