Skip to content

Commit 10b15ec

Browse files
committed
resetting monikers for using azure cli commands
1 parent ab19e18 commit 10b15ec

36 files changed

+230
-346
lines changed

docs/boards/backlogs/office/bulk-add-modify-work-items-excel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ To resolve publishing errors that arise when working in Excel, see one of the fo
684684
- [Azure DevOps Office integration issues](tfs-office-integration-issues.md)
685685
- [FAQs: Work in Excel connected to Azure Boards](faqs.yml)
686686
- [Bulk import or update work items using CSV files](../../queries/import-work-items-from-csv.md)
687-
- [View and add work items, az boards work-item create](../../work-items/view-add-work-items.md#add-work-item)
687+
- [View and add work items](../../work-items/view-add-work-items.md)
688688
- [Basic Excel tasks](https://support.office.com/article/basic-tasks-in-excel-dc775dd1-fa52-430f-9c3c-d998d1735fca)
689689

690690
::: moniker-end

docs/boards/backlogs/remove-delete-work-items.md

+13-71
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ Work items can live forever in your work tracking data store. You never have to
2828
::: moniker range="tfs-2013"
2929
- **Change state**: Remove work items from appearing on backlogs and boards by changing the work item **State** to *Remove* or *Cut*.
3030
- **Destroy**: Permanently delete work items, deleting all data from the work tracking data store.
31+
32+
> [!NOTE]
33+
> The **Delete and Recycle bin** features are available from TFS 2015.2 and later versions. The Delete option isn't available for TFS 2013. You can only delete work items from the **witadmin destroywi** command.
34+
35+
::: moniker-end
36+
37+
::: moniker range="tfs-2015"
38+
> [!NOTE]
39+
> The **Delete** and **Recycle Bin** features are available from TFS 2015.2 and later versions.
3140
::: moniker-end
3241

3342
The ability to archive work items or projects isn't a supported feature at this time.
@@ -56,11 +65,11 @@ To move a work item from one project to another, or to change the work item type
5665
- [Remove work items](#remove): Have the **View work items in this node** and **Edit work items in this node** Area Path permissions set to **Allow**.
5766
::: moniker-end
5867

59-
::: moniker range=">= azure-devops-2020"
68+
::: moniker range="azure-devops"
6069
- To [Restore or destroy work items](#restore) or [Delete or destroy work items (az boards CLI)](#az-boards-cli), you must be a member of the **Project Administrators** group or have the **Delete work items in this project** project-level permission set to **Allow**.
6170
::: moniker-end
6271

63-
::: moniker range="azure-devops-2019"
72+
::: moniker range="azure-devops-2019 ||| azure-devops-2020"
6473
- To [Restore or destroy work items](#restore), you must be a member of the **Project Administrators** group or have the **Delete work items in this project** project-level permission set to **Allow**.
6574
::: moniker-end
6675

@@ -271,7 +280,7 @@ You restore deleted work items from the web portal **Recycle Bin**.
271280

272281
<a id="az-boards-cli" />
273282

274-
::: moniker range=">= azure-devops-2020"
283+
::: moniker range="azure-devops"
275284

276285
## Delete or destroy work items from the command line
277286

@@ -424,71 +433,4 @@ To programmatically delete, restore, and destroy work items, see one of the foll
424433

425434
::: moniker-end
426435

427-
428-
<!---
429-
rest api
430-
ARCHIVE WORK ITEMS
431-
I am looking for a way to archive the work items to an on-premise file share as a Disaster Recovery solution. It would be good to have a tool or a feature in Azure DevOps that could do that for us.
432-
433-
434-
::: moniker range="tfs-2013"
435-
436-
> [!NOTE]
437-
> The **Delete and Recycle bin** features are available from TFS 2015.2 and later versions. The Delete option isn't available for TFS 2013. You can only delete work items from the **witadmin destroywi** command.
438-
439-
::: moniker-end
440-
441-
442-
In this article you'll learn:
443-
444-
445-
::: moniker range=">= azure-devops-2020"
446-
447-
> [!div class="checklist"]
448-
> * Which permissions you need to delete, destroy, or restore work items
449-
> * How to remove work items from the backlog by changing the State
450-
> * How to delete work items
451-
> * How to restore or destroy work items (from the Recycle Bin, web portal)
452-
> * How to permanently delete work items (**az boards** command-line tool)
453-
454-
::: moniker-end
455-
456-
457-
::: moniker range="azure-devops-2019"
458-
459-
> [!div class="checklist"]
460-
> * Which permissions you need to delete, destroy, or restore work items
461-
> * How to remove work items from the backlog by changing the State
462-
> * How to delete work items
463-
> * How to restore or permanently delete work items (from the Recycle Bin, web portal)
464-
465-
::: moniker-end
466-
467-
468-
::: moniker range=">= tfs-2015 < azure-devops-2019"
469-
470-
> [!div class="checklist"]
471-
> * Which permissions you need to delete, destroy, or restore work items
472-
> * How to remove work items from the backlog by changing the State
473-
> * How to delete work items
474-
> * How to restore or permanently delete work items (from the Recycle Bin, web portal)
475-
> * How to permanently delete work items (**witadmin destroy** command-line tool)
476-
477-
::: moniker-end
478-
479-
::: moniker range="tfs-2015"
480-
481-
> [!NOTE]
482-
> The **Delete** and **Recycle Bin** features are available from TFS 2015.2 and later versions.
483-
::: moniker-end
484-
485-
486-
::: moniker range="tfs-2013"
487-
488-
>[!div class="checklist"]
489-
> * Which permissions you need to remove or destroy work items
490-
> * How to remove work items from the backlog by changing the State to Removed
491-
> * How to permanently delete work items (**witadmin destroy** command-line tool)
492-
493-
::: moniker-end
494-
-->
436+

docs/boards/includes/add-work-items-cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.topic: include
66
ms.date: 07/09/2020
77
---
88

9-
::: moniker range=">= azure-devops-2020"
9+
::: moniker range="azure-devops"
1010

1111
You can add a new work item with the [az boards work-item create](/cli/azure/boards/work-item#ext-azure-devops-az-boards-work-item-create) command. To get started, see [Get started with Azure DevOps CLI](../../cli/index.md).
1212

docs/boards/queries/high-performing-queries.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,19 @@ While you can easily create work item queries, to create high-performing queries
2323
> Reference to service or resource rate limits only applies to queries run against Azure DevOps Services. To learn more, see [Service limits and rate limits](../../user-guide/service-limits.md).
2424

2525
This article provides general guidelines on how to write a high-performing query. These guidelines apply to the following queries you create:
26+
27+
::: moniker range="azure-devops"
2628
- [Web portal queries](view-run-query.md)
2729
- [Work Item Query Language (WIQL) queries](wiql-syntax.md)
28-
- [az boards query command line](view-run-query.md#run-a-query-from-the-command-line).
30+
- [az boards query command line](view-run-query.md#run-a-query-from-the-command-line)
2931
- [REST API queries](/rest/api/azure/devops/wit/queries)
32+
::: moniker-end
3033

34+
::: moniker range="< azure-devops"
35+
- [Web portal queries](view-run-query.md)
36+
- [Work Item Query Language (WIQL) queries](wiql-syntax.md)
37+
- [REST API queries](/rest/api/azure/devops/wit/queries)
38+
::: moniker-end
3139

3240
## Create focused, selective queries
3341

docs/boards/queries/link-type-reference.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: kaelli
99
author: KathrynEE
1010
ms.topic: conceptual
1111
monikerRange: '<= azure-devops'
12-
ms.date: 10/21/2021
12+
ms.date: 03/31/2022
1313
---
1414

1515

@@ -747,7 +747,7 @@ You can create custom link types; export and import definitions of link types; a
747747

748748
To get a list of link types, you can use one of the supported command-line tools.
749749

750-
::: moniker range=">= azure-devops-2020"
750+
::: moniker range="azure-devops"
751751

752752
### az boards work-item relation list-type
753753

@@ -833,8 +833,6 @@ The default json format provides additional information about the attributes def
833833

834834
::: moniker-end
835835

836-
::: moniker range="< azure-devops"
837-
838836
### `witadmin listlinktypes`
839837

840838
You can list link types supported for your project collection using the [**witadmin listlinktypes**](../../reference/witadmin/manage-link-types.md) command-line tool or the [Work Item Relation Types - List](/rest/api/azure/devops/wit/work-item-relation-types/list) REST API command.
@@ -881,8 +879,6 @@ Is Active: True
881879
882880
```
883881

884-
::: moniker-end
885-
886882
### Link type attributes
887883

888884
The following table provides descriptions for each of the link type attributes returned by **Azure Boards** CLI or the REST API.

docs/boards/queries/view-run-query.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ You can also run a query by using the [Azure DevOps command line interface](#cli
6969

7070
<a id="cli" />
7171

72-
::: moniker range=">= azure-devops-2020"
72+
::: moniker range="azure-devops"
7373

7474
## Run a query from the command line
7575

@@ -121,8 +121,6 @@ Priority Node Name Work Item Type Title Remaining W
121121
2 Fabrikam Fiber Bug Secure Sign-in
122122
```
123123
::: moniker-end
124-
125-
126124

127125

128126
<a id="tips-queries-hub"> </a>

docs/boards/work-items/view-add-work-items.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ If you don't see the **Work Items** option, you need to connect to a project and
7777

7878
# [Azure DevOps CLI](#tab/azure-devops-cli)
7979

80-
There's no [**az boards**](/cli/azure//boards) command that opens the **Work Items** page at this time. The Azure DevOps CLI commands are valid for Azure DevOps Services and Azure DevOps Server 2020.
80+
There's no [**az boards**](/cli/azure//boards) command that opens the **Work Items** page at this time. The Azure DevOps CLI commands are valid for Azure DevOps Services only.
8181

8282
***
8383

@@ -147,7 +147,7 @@ To view a work item, double-click the title or open the context menu for the wor
147147

148148
# [Azure DevOps CLI](#tab/azure-devops-cli)
149149

150-
::: moniker range=">= azure-devops-2020"
150+
::: moniker range="azure-devops"
151151

152152
You can view a new work item with the [az boards work-item show](/cli/azure/boards/work-item?#ext-azure-devops-az-boards-work-item-show) command. To get started, see [Get started with Azure DevOps CLI](../../cli/index.md).
153153

@@ -258,7 +258,7 @@ You can filter each work item pivot view by typing a keyword or using one or mor
258258
259259
# [Azure DevOps CLI](#tab/azure-devops-cli)
260260

261-
There's no [**az boards**](/cli/azure//boards) command that applies to filtering. The Azure DevOps CLI commands are only valid for Azure DevOps Services (cloud) and Azure DevOps Server 2020 and later versions.
261+
There's no [**az boards**](/cli/azure//boards) command that applies to filtering. The Azure DevOps CLI commands are only valid for Azure DevOps Services.
262262

263263
***
264264

docs/marketplace/install-extension.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Your extension is now installed! You can now go to your organization to use your
5454

5555
#### [Azure DevOps CLI](#tab/azure-devops-cli/)
5656

57-
::: moniker range=">= azure-devops-2020"
57+
::: moniker range="azure-devops"
5858

5959
You can install an extension with the [az devops extension install](/cli/azure/devops/extension#ext-azure-devops-az-devops-extension-install) command. To get started, see [Get started with Azure DevOps CLI](../cli/index.md).
6060

docs/marketplace/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To upload, install, or assign extensions you need [Project Collection Administra
4848

4949
#### [Azure DevOps CLI](#tab/azure-devops-cli/)
5050

51-
::: moniker range="= azure-devops"
51+
::: moniker range="azure-devops"
5252

5353
Add an extension to your organization by first searching for and then installing the extension from the [Marketplace > Azure DevOps](https://marketplace.visualstudio.com/azuredevops).
5454

docs/marketplace/uninstall-disable-extensions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ To uninstall or disable an extension, perform the following steps.
9999

100100
#### [Azure DevOps CLI](#tab/azure-devops-cli/)
101101

102-
::: moniker range=">= azure-devops-2020"
102+
::: moniker range="azure-devops"
103103

104104
[Uninstall extension](#uninstall-extension) | [Disable extension](#disable-extension)
105105

@@ -167,7 +167,7 @@ Publisher Id Extension Id Name Version Last Updated State
167167
* * *
168168

169169

170-
::: moniker range=">= azure-devops-2020"
170+
::: moniker range="azure-devops"
171171

172172
## Enable or list extensions through the command line
173173

docs/organizations/projects/about-projects.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ See also, [Compatibility with Azure DevOps Server versions](/azure/devops/server
303303

304304
**A.** See [Projects REST API](/rest/api/azure/devops/core/projects).
305305

306-
::: moniker range=">= azure-devops-2020"
306+
::: moniker range="azure-devops"
307307
Also, you can use the [**az devops project** commands](/cli/azure/devops/project).
308308
::: moniker-end
309309

@@ -315,10 +315,4 @@ Also, you can use the [**az devops project** commands](/cli/azure/devops/project
315315
- [What do I get with a project?](../../user-guide/services.md?toc=/azure/devops/organizations/projects/toc.json&bc=/azure/devops/organizations/projects/breadcrumb/toc.json)
316316
- [Understand differences between Azure DevOps](../../user-guide/about-azure-devops-services-tfs.md?toc=/azure/devops/organizations/projects/toc.json&bc=/azure/devops/organizations/projects/breadcrumb/toc.json)
317317

318-
<!--- Various blog resources
319-
320-
- [](http://geekswithblogs.net/Optikal/archive/2013/09/05/153944.aspx](http://geekswithblogs.net/Optikal/archive/2013/09/05/153944.aspx)
321-
- [One project to rule them out](https://nkdagility.com/one-team-project/)
322-
- [Working within a single Project with Team Foundation Server 2012](https://nkdagility.com/working-within-a-single-team-project-with-team-foundation-server-2012/)
323-
324-
-->
318+

docs/organizations/projects/delete-project.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Using the administration console, you can delete a project from a project collec
127127

128128
#### [Azure DevOps CLI](#tab/azure-devops-cli)
129129

130-
::: moniker range=">= azure-devops-2020"
130+
::: moniker range="azure-devops"
131131

132132
You can delete a team project with the [az devops project delete](/cli/azure/devops/project#az-devops-project-delete) command. To get started, see [Get started with Azure DevOps CLI](../../cli/index.md).
133133

@@ -143,9 +143,6 @@ az devops project delete --id
143143
- **org**: Azure DevOps organization URL. You can configure the default organization using `az devops configure -d organization=ORG_URL`. Required if not configured as default or picked up using `git config`. Example: `--org https://dev.azure.com/MyOrganizationName/`.
144144
- **yes**: Don't prompt for confirmation.
145145

146-
::: moniker-end
147-
[!INCLUDE [temp](../../includes/note-cli-supported-server.md)]
148-
::: moniker range=">= azure-devops-2020"
149146

150147
#### Example
151148

@@ -163,7 +160,7 @@ az devops project delete --id 9a61d475-b1a7-4da7-b9db-80df15ac985c --yes
163160

164161

165162

166-
::: moniker range="<= azure-devops-2020"
163+
::: moniker range="< azure-devops"
167164

168165
## Delete reports that remain after deleting a project
169166

docs/organizations/security/add-manage-security-groups.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ titleSuffix: Azure DevOps
44
description: Add and manage security groups in an organization using the Azure DevOps CLI.
55
ms.technology: devops-security
66
ms.assetid:
7-
ms.topic: reference
8-
ms.reviewer: geverghe
7+
ms.topic: reference
98
ms.author: kaelli
109
author: KathrynEE
1110
monikerRange: '>= azure-devops-2020'

docs/organizations/security/add-users-team-project.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ To learn more, see [Add account users for Azure DevOps](../accounts/add-organiza
730730
::: moniker-end
731731

732732

733-
::: moniker range=">= azure-devops-2020"
733+
::: moniker range="azure-devops"
734734

735735
## List team members or team details
736736

@@ -811,8 +811,6 @@ a48cb46f-7366-4f4b-baf5-b3632398ed1e Fabrikam Team The default project team. W
811811

812812
::: moniker-end
813813

814-
815-
816814

817815
::: moniker range="< azure-devops"
818816

@@ -854,6 +852,7 @@ If your on-premises deployment is integrated with a SharePoint product or SQL Se
854852
* [Resources granted to project members](../projects/resources-granted-to-project-members.md)
855853
* [Manage your organization, Limit identity search and selection](../../user-guide/manage-organization-collection.md#limit-identity-selection)
856854
* [Manage your organization, Limit user visibility for projects and more](../../user-guide/manage-organization-collection.md#project-scoped-user-group)
855+
* [Manage permissions with command line tool](manage-tokens-namespaces.md)
857856
* [Grant or restrict access using permissions](restrict-access.md).
858857
::: moniker-end
859858

docs/organizations/security/export-users-audit-log.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ From the Azure DevOps CLI command, you can get a list of the users in your organ
7373

7474
#### [Azure DevOps CLI](#tab/azure-devops-cli)
7575

76-
::: moniker range=">= azure-devops-2020"
76+
::: moniker range="azure-devops"
7777

7878
[Add a user](../accounts/add-organization-users.md#add-user) | [List users](#list-users) | [Remove a user](../accounts/delete-organization-users.md#remove-user) | [Update a user](../accounts/add-organization-users.md#update-user) | [Show users](../accounts/add-organization-users.md#show-users)
7979

docs/organizations/security/manage-tokens-namespaces.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ ms.assetid:
77
ms.topic: reference
88
ms.author: kaelli
99
author: KathrynEE
10-
monikerRange: '<= azure-devops'
11-
ms.date: 12/14/2021
10+
monikerRange: 'azure-devops'
11+
ms.date: 03/31/2022
1212
---
1313

1414
# Manage permissions with command line tool
1515

1616

17-
[!INCLUDE [version-lt-eq-azure-devops](../../includes/version-lt-eq-azure-devops.md)]
17+
[!INCLUDE [version-eq-azure-devops](../../includes/version-eq-azure-devops.md)]
1818

1919
Permissions grant access to perform a specific action on a specific resource as described in [Get started with permissions, access, and security groups](about-permissions.md). You manage most permissions through the web portal. However, you can manage permissions using command line tools or the REST API.
2020

@@ -442,9 +442,4 @@ See [Security namespace and permission reference for Azure DevOps](namespace-ref
442442
- [TFSSecurity](/azure/devops/server/command-line/tfssecurity-cmd)
443443
- [Security glossary](security-glossary.md)
444444

445-
446-
<!--- QUESTIONS
447-
448-
What is --local option?
449-
450-
-->
445+

0 commit comments

Comments
 (0)