Skip to content

Commit

Permalink
Merged main into live
Browse files Browse the repository at this point in the history
  • Loading branch information
mijacobs committed Sep 6, 2024
2 parents f78ac09 + c54106f commit effe1bd
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 154 deletions.
13 changes: 7 additions & 6 deletions docs/boards/includes/prerequisites-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ ms.service: azure-devops-boards
ms.author: chcomley
author: chcomley
ms.topic: include
ms.date: 09/07/2021
ms.date: 09/05/2024
---


## Prerequisites

::: moniker range="azure-devops"

* You must have **Stakeholder** access to view and run shared queries. All project members have Stakeholder access by default. For more information, see [Change the permissions for a shared query or folder](../queries/set-query-permissions.md).
* You must have **Basic** access or higher to add and save a shared query.
* You must have your **Contribute** permission set to **Allow** for the folder that you want to add a query to. By default, the **Contributors** group *doesn't* have this permission.
* **Access levels:**
* Have **Stakeholder** access to view and run shared queries. All project members have Stakeholder access by default. For more information, see [Change the permissions for a shared query or folder](../queries/set-query-permissions.md).
* Have **Basic** access or higher to add and save a shared query.
* **Permissions:** Have your **Contribute** permission set to **Allow** for the folder that you want to add a query to. By default, the **Contributors** group *doesn't* have this permission.

> [!NOTE]
> Users with **Stakeholder** access for a public project have full access to query features just like users with **Basic** access. For more information, see [Stakeholder access quick reference](../../organizations/security/stakeholder-access.md).
Expand All @@ -22,7 +23,7 @@ ms.date: 09/07/2021

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

* By default, all project members and users with **Stakeholder** access can view and run all shared queries. You can change the permissions set for a shared query folder or shared query. For more information, see [Set query permissions](../queries/set-query-permissions.md).
* To add and save a query under **Shared queries**, you must be granted **Basic** access or higher. Also, you must have your **Contribute** permission set to **Allow** for the folder you want to add the query to. By default, the **Contributors** group doesn't have this permission.
* **Access levels:** By default, all project members and users with **Stakeholder** access can view and run all shared queries. You can change the permissions set for a shared query folder or shared query. For more information, see [Set query permissions](../queries/set-query-permissions.md).
* **Permissions:** To add and save a query under **Shared queries**, you must be granted **Basic** access or higher. Also, you must have your **Contribute** permission set to **Allow** for the folder you want to add the query to. By default, the **Contributors** group doesn't have this permission.

::: moniker-end
14 changes: 7 additions & 7 deletions docs/boards/queries/linking-attachments.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: Query work items by link or attachment count in Azure Boards
titleSuffix: Azure Boards
description: Learn how to query work items based on link type, link count, link restrictions, and attachment file count in Azure Boards.
description: Learn how to query work items based on link type, link count, link restrictions, and attached file count in Azure Boards.
ms.custom: boards-queries, engagement-fy23
ms.service: azure-devops-boards
ms.assetid: 219717a0-de6e-4f70-8558-54f813f82507
ms.author: chcomley
author: chcomley
ms.topic: example-scenario
monikerRange: '<= azure-devops'
ms.date: 10/27/2023
ms.date: 09/06/2024
---

# Query work items by link or attachment count
Expand All @@ -19,11 +19,11 @@ ms.date: 10/27/2023
You can [link work items to track related work and dependencies](../backlogs/add-link.md) and attach files to share information with your team. You can then list work items based on one or more of the following fields:

::: moniker range="azure-devops"
Attachment File Count | (Discussion) Comment Count | External Link count| Hyperlink Count| Link Comment| Related Link Count|Remote Link Count
Attached File Count | (Discussion) Comment Count | External Link count| Hyperlink Count| Link Comment| Related Link Count|Remote Link Count
::: moniker-end

::: moniker range="< azure-devops"
- Attachment File Count
- Attached File Count
- (Discussion) Comment Count
- External Link count
- Hyperlink Count
Expand Down Expand Up @@ -129,7 +129,7 @@ The following query finds work items in all projects that are linked to work ite

#### [Visual Studio 2015](#tab/visual-studio/)

Use this type of query to list all dependent work items that link to active Product Backlog Items or Bugs that haven't been removed, closed, or completed. Only those dependent work items that are under a product area other than the **Phone Save\Phone Customers** are returned.
Use this type of query to list all dependent work items that link to active Product Backlog Items or Bugs that aren't removed, closed, or completed. Only those dependent work items that are under a product area other than the **Phone Save\Phone Customers** are returned.

![Work Items and Dependent Links Query](media/example-work-item-queries/IC588290.png)

Expand Down Expand Up @@ -167,7 +167,7 @@ The following table describes fields associated with links and attachments. Most

:::row:::
:::column span="1":::
**Attachment File Count**
**Attached File Count**
:::column-end:::
:::column span="3":::
The number of files attached to the work item and stored in the work item tracking database.
Expand All @@ -193,7 +193,7 @@ The following table describes fields associated with links and attachments. Most

:::column-end:::
:::column span="3":::
The number of links from the work item to artifacts that aren't work items. such as pull requests, commits, changesets, or other link types.
The number of links from the work item to artifacts that aren't work items, such as pull requests, commits, changesets, or other link types.
Reference Name=System.ExternalLinkCount, Data type=Integer
:::column-end:::
:::row-end:::
Expand Down
Loading

0 comments on commit effe1bd

Please sign in to comment.