From 85b7e80d90d162a1a3f5b45ca6a56c9acf117d6c Mon Sep 17 00:00:00 2001 From: Sophie <29382425+sophietheking@users.noreply.github.com> Date: Wed, 24 May 2023 10:11:51 +0200 Subject: [PATCH] [Improvement]: GitHub Enterprise Server 3.6 Documentation includes features that weren't introduced until v3.7 (#37196) --- .../managing-discussions.md | 2 ++ .../moderating-discussions.md | 2 ++ .../issues/tracking-your-work-with-issues/about-issues.md | 2 +- data/features/converting-issues-to-discussions.yml | 5 +++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 data/features/converting-issues-to-discussions.yml diff --git a/content/discussions/managing-discussions-for-your-community/managing-discussions.md b/content/discussions/managing-discussions-for-your-community/managing-discussions.md index d9a338d6b6..3b3f40b6bd 100644 --- a/content/discussions/managing-discussions-for-your-community/managing-discussions.md +++ b/content/discussions/managing-discussions-for-your-community/managing-discussions.md @@ -177,6 +177,7 @@ To transfer a discussion, you must have permissions to create discussions in the {% endif %} +{% ifversion converting-issues-to-discussions %} ## 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. @@ -187,3 +188,4 @@ You can convert all issues with the same label to discussions in bulk. Future is 1. Next to the label you want to convert to issues, click **Convert issues**. 1. Select the **Choose a category** drop-down menu, and click a category for your discussion. 1. Click **I understand, convert this issue to a discussion**. +{% endif %} \ No newline at end of file diff --git a/content/discussions/managing-discussions-for-your-community/moderating-discussions.md b/content/discussions/managing-discussions-for-your-community/moderating-discussions.md index 8d941ea553..e387f171ef 100644 --- a/content/discussions/managing-discussions-for-your-community/moderating-discussions.md +++ b/content/discussions/managing-discussions-for-your-community/moderating-discussions.md @@ -39,6 +39,7 @@ It's appropriate to lock a conversation when the entire conversation is not cons 1. To lock the conversation, click **Lock conversation**. 1. When you're ready to unlock the conversation, click **Unlock conversation** in the right margin of a discussion, then click **Unlock conversation**. +{% ifversion converting-issues-to-discussions %} ## Converting an issue to a discussion When you convert an issue to a discussion, the discussion is automatically created using the content from the issue. People with write access to a repository, or source repository for organization discussions, can bulk convert issues based on labels. For more information, see "[AUTOTITLE](/discussions/managing-discussions-for-your-community/managing-discussions)." @@ -49,6 +50,7 @@ When you convert an issue to a discussion, the discussion is automatically creat 1. In the right margin of an issue, click **Convert to discussion**. 1. Select the **Choose a category** drop-down menu, and click a category for your discussion. 1. Click **I understand, convert this issue to a discussion**. +{% endif %} {% ifversion discussions-hide-comments-on-block %} ## Blocking a user from your organization diff --git a/content/issues/tracking-your-work-with-issues/about-issues.md b/content/issues/tracking-your-work-with-issues/about-issues.md index 95c7070df6..d25d0bce55 100644 --- a/content/issues/tracking-your-work-with-issues/about-issues.md +++ b/content/issues/tracking-your-work-with-issues/about-issues.md @@ -53,5 +53,5 @@ You can @mention collaborators who have access to your repository in an issue to Some conversations are more suitable for {% data variables.product.prodname_discussions %}. {% data reusables.discussions.you-can-use-discussions %} For guidance on when to use an issue or a discussion, see "[AUTOTITLE](/get-started/quickstart/communicating-on-github)." -When a conversation in an issue is better suited for a discussion, you can convert the issue to a discussion. +{% ifversion converting-issues-to-discussions %}When a conversation in an issue is better suited for a discussion, you can convert the issue to a discussion.{% endif %} {% endif %} diff --git a/data/features/converting-issues-to-discussions.yml b/data/features/converting-issues-to-discussions.yml new file mode 100644 index 0000000000..95cb5b5e58 --- /dev/null +++ b/data/features/converting-issues-to-discussions.yml @@ -0,0 +1,5 @@ +# Converting an issue to a discussion +versions: + fpt: '*' + ghec: '*' + ghes: '>=3.7'