provider orgs PATCH /orgs/{org}/issue-fields/{issue_field_id}
@utdk/github /orgs/{org}/issue-fields/{issue_field_id}
Update issue field for an organization
Updates an issue field for an organization. You can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization). To use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
org path required
The organization name. The name is not case sensitive.
string
issue_field_id path required
The unique identifier of the issue field.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

orgs.updateIssueField
PATCH/orgs/{org}/issue-fields/{issue_field_id}
Updates an issue field for an organization. You can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization). To use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

Parameters

required

The organization name. The name is not case sensitive.

required

The unique identifier of the issue field.

Input

Name of the issue field.

Description of the issue field.

The visibility of the issue field. Can be `organization_members_only` (visible only within the organization) or `all` (visible to all users who can see issues). Only used when the visibility settings feature is enabled.

Options for single select fields. Only applicable when updating single_select fields.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.orgs.updateIssueField()