Skip to content

Commit 028db30

Browse files
peterbemchammer01
andauthored
Remove ifversion 'projects-v2-auto-add' and 'projects-v2-auto-archive' feature (#51367)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 5704155 commit 028db30

File tree

7 files changed

+15
-19
lines changed

7 files changed

+15
-19
lines changed

Diff for: content/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Adding items automatically
33
intro: 'You can configure your project''s built-in workflows to automatically add items from {% ifversion projects-v2-duplicate-auto-add %}repositories{% else%}a repository{% endif %} that match a filter.'
44
versions:
5-
feature: projects-v2-auto-add
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
68
type: tutorial
79
topics:
810
- Projects

Diff for: content/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Archiving items automatically
33
shortTitle: Archiving items automatically
44
intro: You can configure your project's built-in workflows to automatically archive items that match a filter.
55
versions:
6-
feature: projects-v2-auto-archive
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
79
type: tutorial
810
topics:
911
- Projects

Diff for: content/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To learn more about the different fields you can add to a project, see "[AUTOTIT
3939

4040
### Automating your projects
4141

42-
There are a number of ways you can add automation to your project. Built-in workflows allow you to automatically set fields when items are added or changed{% ifversion projects-v2-auto-archive %}, and you can also configure your project to automatically archive items when they meet certain criteria{% ifversion projects-v2-auto-add %} and automatically add items from a repository when they match set criteria{% endif %}{% endif %}. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."
42+
There are a number of ways you can add automation to your project. Built-in workflows allow you to automatically set fields when items are added or changed, and you can also configure your project to automatically archive items when they meet certain criteria and automatically add items from a repository when they match set criteria. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."
4343

4444
You can also use the GraphQL API and {% data variables.product.prodname_actions %} to take even greater control of your project. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects)" and "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions)."
4545

Diff for: content/issues/planning-and-tracking-with-projects/learning-about-projects/best-practices-for-projects.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ To prevent information from getting out of sync, maintain a single source of tru
6565

6666
You can automate tasks to spend less time on busy work and more time on the project itself. The less you need to remember to do manually, the more likely your project will stay up to date.
6767

68-
{% data variables.product.prodname_projects_v2 %} offers built-in workflows. For example, when an issue is closed, you can automatically set the status to "Done." {% ifversion projects-v2-auto-archive %}You can also configure built-in workflows to automatically archive items when they meet certain criteria{% ifversion projects-v2-auto-add %} and to automatically add items from a repository when they match a filter{% endif %}.{% endif %}
68+
{% data variables.product.prodname_projects_v2 %} offers built-in workflows. For example, when an issue is closed, you can automatically set the status to "Done". You can also configure built-in workflows to automatically archive items when they meet certain criteria and to automatically add items from a repository when they match a filter.
6969

7070
Additionally, {% data variables.product.prodname_actions %} and the GraphQL API enable you to automate routine project management tasks. For example, to keep track of pull requests awaiting review, you can create a workflow that adds a pull request to a project and sets the status to "needs review"; this process can be automatically triggered when a pull request is marked as "ready for review."
7171

72-
* For more information about the built-in workflows, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."{% ifversion projects-v2-auto-archive %}
73-
* For more information about automatically archiving items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."{% endif %}{% ifversion projects-v2-auto-add %}
74-
* For more information about automatically adding items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically)."{% endif %}
72+
* For more information about the built-in workflows, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations)."
73+
* For more information about automatically archiving items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."
74+
* For more information about automatically adding items, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically)."
7575
* For an example workflow, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions)."
7676
* For more information about the API, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects)."
7777
* For more information about {% data variables.product.prodname_actions %}, see "[AUTOTITLE](/actions)."

Diff for: content/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects.md

-4
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ To indicate the purpose of the view, give it a descriptive name.
127127

128128
## Configure built-in automation
129129

130-
{% ifversion projects-v2-auto-add %}
131-
132130
Next, configure the auto-add workflow to automatically add issues opened in a repository with a specific label to your project.
133131

134132
{% data reusables.projects.access-workflows %}
@@ -141,8 +139,6 @@ Next, configure the auto-add workflow to automatically add issues opened in a re
141139
1. Next to the repository selection, type the filter criteria you want items to match before they are automatically added to your project. For example, to catch all issues and PRs opened with the label "bug", use `is:issue,pr label:bug`.
142140
1. To enable the new workflow, click **Save and turn on workflow**.
143141

144-
{% endif %}
145-
146142
Finally, add a built in workflow to set the status to **Todo** when an item is added to your project.
147143

148144
1. In the top-right, click {% octicon "kebab-horizontal" aria-label="The menu icon" %} to open the menu.

Diff for: content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/adding-items-to-your-project.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ allowTitleToDifferFromFilename: true
1212

1313
{% note %}
1414

15-
**Note:** A project can contain a maximum of {% data variables.projects.item_limit %} items and {% data variables.projects.archived_item_limit %} archived items. {% ifversion projects-v2-auto-archive %}To learn more about automatically archiving items when they meet specific criteria, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."{% endif %}
15+
**Note:** A project can contain a maximum of {% data variables.projects.item_limit %} items and {% data variables.projects.archived_item_limit %} archived items. To learn more about automatically archiving items when they meet specific criteria, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."
1616

1717
{% endnote %}
1818

1919
## Adding issues and pull requests to a project
2020

21-
You have several options for adding issues and pull requests to your project. You can add them individually{% ifversion projects-v2-auto-add %}, automatically, {% endif %} or in bulk. Furthermore, you can include issues and pull requests from any organization, and you also have the ability to add draft issues that can be converted into regular issues later on. For more information, see "[Creating draft issues](#creating-draft-issues)."
21+
You have several options for adding issues and pull requests to your project. You can add them individually, automatically, or in bulk. Furthermore, you can include issues and pull requests from any organization, and you also have the ability to add draft issues that can be converted into regular issues later on. For more information, see "[Creating draft issues](#creating-draft-issues)."
2222

2323
{% ifversion projects-v2-timeline-events %}
2424

@@ -38,14 +38,10 @@ For more information about making bulk changes to your items after adding them,
3838

3939
{% endif %}
4040

41-
{% ifversion projects-v2-auto-add %}
42-
4341
### Automatically adding issues and pull requests
4442

4543
You can configure a built-in workflow to automatically add issues and pull requests from a repository when they meet specific filter criteria. For more information about configuring a workflow, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically)."
4644

47-
{% endif %}
48-
4945
### Pasting the URL of an issue or pull request
5046

5147
You can copy the URL of an issue or pull request into your clipboard and paste that into your project.

Diff for: content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ allowTitleToDifferFromFilename: true
1818

1919
## Archiving items
2020

21-
You can archive an item to keep the context about the item in the project but remove it from the project views. {% ifversion projects-v2-auto-archive %}You can also configure your project's built-in workflows to automatically archive items that meet certain criteria. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."{% endif %}
21+
You can archive an item to keep the context about the item in the project but remove it from the project views. You can also configure your project's built-in workflows to automatically archive items that meet certain criteria. For more information, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically)."
2222

2323
{% data reusables.projects.select-an-item %}
2424
{% data reusables.projects.open-item-menu %}
@@ -31,7 +31,7 @@ You can archive an item to keep the context about the item in the project but re
3131
1. In the top-right, click {% octicon "kebab-horizontal" aria-label="More options" %}.
3232

3333
![Screenshot showing a project's menu bar. The menu icon is highlighted with an orange outline.](/assets/images/help/projects-v2/open-menu.png)
34-
34+
3535
1. In the menu, click {% octicon "archive" aria-hidden="true" %} **Archived items**.
3636
1. Optionally, to filter the archived items displayed, type your filter into the text box above the list of items. For more information about the available filters, see "[AUTOTITLE](/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects)."
3737
1. To the left of each item title, select the items you would like to restore.

0 commit comments

Comments
 (0)