Skip to main content

Managing discussions

You can categorize, spotlight, transfer, or delete the discussions.

Who can use this feature

Repository administrators and people with write or greater access to a repository can manage discussions in the repository. Repository administrators and people with write or greater access to the source repository for organization discussions can manage discussions in the organization.

About management of discussions

GitHub Discussions は、保守管理者が話し合うためのオープン フォーラムであり、GitHub Enterprise Server 上のリポジトリまたは組織のためのコミュニティです。 For more information about discussions, see "About discussions."

Organization owners can choose the permissions required to create a discussion in repositories owned by the organization. Similarly, to choose the permissions required to create an organization discussion, organization owners can change the permissions required in the source repository. For more information, see "Managing discussion creation for repositories in your organization."

As a discussions maintainer, you can create community resources to encourage discussions that are aligned with the overall project goal and maintain a friendly open forum for collaborators. Creating contribution guidelines for collaborators to follow will help facilitate a collaborative and productive forum. For more information on creating community resources, see "Setting guidelines for repository contributors."

When a discussion yields an idea or bug that is ready to be worked on, you can create a new issue from a discussion. For more information, see "Creating an issue."

You can pin a discussion to the top of the list of discussions for the repository or organization. For more information, see "Pinning a discussion."

For more information on facilitating a healthy discussion, see "Moderating comments and conversations."

ディスカッションをより詳細に整理するために、ラベルを適用できます。 たとえば、ラベルを使ってディスカッションのステータスを示し、効率的にトリアージできるようにすることができます。 各リポジトリには、Issue、Pull Reqeust、ディスカッションのための共有ラベルセットが1つあります。 詳細については、ラベルの管理に関する記事を参照してください。

Prerequisites

To manage discussions in a repository, GitHub Discussions must be enabled for the repository. For more information, see "Enabling or disabling GitHub Discussions for a repository."

To manage discussions in an organization, GitHub Discussions must be enabled for the organization. For more information, see "Enabling or disabling GitHub Discussions for an organization."

Changing the category for a discussion

You can categorize discussions to help community members find related discussions. For more information, see "Managing categories for discussions."

You can also move a discussion to a different category. It's not possible to move a discussion to or from the polls category.

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.

  2. リポジトリ名または組織名の下にある [ディスカッション] をクリックします。 リポジトリの [ディスカッション] タブ

  3. ディスカッションのリストで、表示するディスカッションをクリックします。 リポジトリのディスカッション リスト中のディスカッション

  4. In the right sidebar, to the right of "Category", click .

    Screenshot of the "Category" with gear icon

  5. Click a category.

    Screenshot of the "Change category" drop-down menu

Pinning a discussion

You can pin up to four important discussions above the list of discussions for the repository or organization.

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository or organization.

  2. リポジトリ名または組織名の下にある [ディスカッション] をクリックします。 リポジトリの [ディスカッション] タブ

  3. ディスカッションのリストで、表示するディスカッションをクリックします。 リポジトリのディスカッション リスト中のディスカッション

  4. In the right sidebar, click Pin discussion.

    Screenshot of the "Pin discussion" option in right sidebar for discussion

  5. Optionally, customize the look of the pinned discussion.

    Screenshot of customization options for a pinned discussion

  6. Click Pin discussion.

    Screenshot of the "Pin discussion" button under customization options for pinned discussion

Editing a pinned discussion

Editing a pinned discussion will not change the discussion's category. For more information, see "Managing categories for discussions."

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository or organization.
  2. リポジトリ名または組織名の下にある [ディスカッション] をクリックします。 リポジトリの [ディスカッション] タブ
  3. ディスカッションのリストで、表示するディスカッションをクリックします。 リポジトリのディスカッション リスト中のディスカッション
  4. In the right sidebar, click Edit pinned discussion.

Screenshot of the "Edit pinned discussion" option in right sidebar for discussion

  1. Customize the look of the pinned discussion.

    Screenshot of customization options for a pinned discussion

  2. Click Pin discussion.

    Screenshot of the "Pin discussion" button under customization options for pinned discussion

Unpinning a discussion

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository or organization.

  2. リポジトリ名または組織名の下にある [ディスカッション] をクリックします。 リポジトリの [ディスカッション] タブ

  3. ディスカッションのリストで、表示するディスカッションをクリックします。 リポジトリのディスカッション リスト中のディスカッション

  4. In the right sidebar, click Unpin discussion.

    Screenshot of the "Unpin discussion" option in right sidebar for discussion

  5. Read the warning, then click Unpin discussion.

    Screenshot of the "Unpin discussion" button beneath warning in modal

Transferring a discussion

To transfer a discussion, you must have permissions to create discussions in the repository where you want to transfer the discussion. If you want to transfer a discussion to an organization, you must have permissions to create discussions in the source repository for the organization's discussions. You can only transfer discussions between repositories owned by the same user or organization account. You can't transfer a discussion from a private or internal repository to a public repository.

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository or organization.

  2. リポジトリ名または組織名の下にある [ディスカッション] をクリックします。 リポジトリの [ディスカッション] タブ

  3. ディスカッションのリストで、表示するディスカッションをクリックします。 リポジトリのディスカッション リスト中のディスカッション

  4. In the right sidebar, click Transfer discussion.

    Screenshot of the "Transfer discussion" option in right sidebar for discussion

  5. Select the Choose a repository drop-down, and click the repository you want to transfer the discussion to. If you want to transfer a discussion to an organization, choose the source repository for the organization's discussions.

    Screenshot of the "Choose a repository" drop-down, "Find a repository" search field, and repository in list

  6. Click Transfer discussion.

    Screenshot of the "Transfer discussion" button

Deleting a discussion

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository or organization.
  2. リポジトリ名または組織名の下にある [ディスカッション] をクリックします。 リポジトリの [ディスカッション] タブ
  3. ディスカッションのリストで、表示するディスカッションをクリックします。 リポジトリのディスカッション リスト中のディスカッション
  4. In the right sidebar, click Delete discussion.

Screenshot of the "Delete discussion" option in right sidebar for discussion

  1. Read the warning, then click Delete this discussion.

    Screenshot of the "Delete this discussion" button beneath warning in modal

Converting issues based on labels

You can convert all issues with the same label to discussions in bulk. Future issues with this label will also automatically convert to the discussion and category you configure.

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository or, for organization discussions, the source repository.

  2. リポジトリ名の下にある [issue] をクリックします。

    Issueタブ

  3. issue または pull request の一覧の上にある [Labels](ラベル) をクリックします。 リポジトリの issue もしくは pull request ページの[Labels](ラベル) タブ

  4. Next to the label you want to convert to issues, click Convert issues.

  5. Select the Choose a category drop-down menu, and click a category for your discussion.

  6. Click I understand, convert this issue to a discussion.