You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/boards/queries/query-by-date-or-current-iteration.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ Not all fields are valid for all work item types. Jump to [date fields](#date_fi
198
198
---
199
199
:::row:::
200
200
:::column span="1":::
201
-
Items closed during the current sprint (the <code><xrefhref="CurrentIteration"data-throw-if-not-resolved="False"data-raw-source="@CurrentIteration"></xref></code> macro references the sprint defined for the current team context)
201
+
Items closed during the current sprint (the `<xref href="CurrentIteration" data-throw-if-not-resolved="False" data-raw-source="@CurrentIteration"></xref>` macro references the sprint defined for the current team context)
202
202
:::column-end:::
203
203
:::column span="2":::
204
204
:::image type="content" source="media/q-by-done-current-iteration.png" alt-text="Screenshot of query editor, Clause for items closed during the current sprint.":::
Copy file name to clipboardExpand all lines: docs/boards/queries/query-operators-variables.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -577,7 +577,7 @@ You can use the macros described in the following table to filter your queries b
577
577
**[Any]**
578
578
:::column-end:::
579
579
:::column span="3":::
580
-
Use with the **Work Item Type** or **State** fields to search across all work item types or across all states. For example, <code>Work Item Type=[Any]</code> won't place any filters based on the work item type.
580
+
Use with the **Work Item Type** or **State** fields to search across all work item types or across all states. For example, `Work Item Type=[Any]` won't place any filters based on the work item type.
581
581
:::column-end:::
582
582
:::row-end:::
583
583
---
@@ -616,7 +616,7 @@ You can use the macros described in the following table to filter your queries b
616
616
**@Me**
617
617
:::column-end:::
618
618
:::column span="3":::
619
-
Use with an identity or user account field to automatically search for items associated with your user or account name. For example, you can find work items that you opened with the clause <code>Created By=@Me</code>. For more examples, see [Query by assignment, workflow, or Kanban board changes](query-by-workflow-changes.md).
619
+
Use with an identity or user account field to automatically search for items associated with your user or account name. For example, you can find work items that you opened with the clause `Created By=@Me`. For more examples, see [Query by assignment, workflow, or Kanban board changes](query-by-workflow-changes.md).
620
620
:::column-end:::
621
621
:::row-end:::
622
622
---
@@ -634,7 +634,7 @@ You can use the macros described in the following table to filter your queries b
634
634
**@Project**
635
635
:::column-end:::
636
636
:::column span="3":::
637
-
Use with the **Team Project** field to filter for work items in other projects. For example, you can find all the work items in the currently selected project with the clause <code>Team Project=@Project</code>. The system automatically defaults to filtering based on the current project. For more information, see [Define a query, Query across projects](using-queries.md#across-projects).
637
+
Use with the **Team Project** field to filter for work items in other projects. For example, you can find all the work items in the currently selected project with the clause `Team Project=@Project`. The system automatically defaults to filtering based on the current project. For more information, see [Define a query, Query across projects](using-queries.md#across-projects).
638
638
:::column-end:::
639
639
:::row-end:::
640
640
---
@@ -661,7 +661,7 @@ You can use the macros described in the following table to filter your queries b
661
661
**@StartOfDay** <sup>2</sup>
662
662
:::column-end:::
663
663
:::column span="3":::
664
-
Use with a <code>DateTime</code> field to filter for work items that relate to the current date or with a plus/minus offset. For example, you can find all items closed in the last week with the clause <code>Closed Date>=@StartOfDay-7</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
664
+
Use with a `DateTime` field to filter for work items that relate to the current date or with a plus/minus offset. For example, you can find all items closed in the last week with the clause `Closed Date>=@StartOfDay-7`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
665
665
:::column-end:::
666
666
:::row-end:::
667
667
---
@@ -670,7 +670,7 @@ You can use the macros described in the following table to filter your queries b
670
670
**@StartOfMonth** <sup>2</sup>
671
671
:::column-end:::
672
672
:::column span="3":::
673
-
Use with a <code>DateTime</code> field to filter for work items that relate to the current month or with a plus/minus offset. For example, you can find all items created in the last three months with the clause <code>Created Date>=@StartOfMonth-3</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
673
+
Use with a `DateTime` field to filter for work items that relate to the current month or with a plus/minus offset. For example, you can find all items created in the last three months with the clause `Created Date>=@StartOfMonth-3`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
674
674
:::column-end:::
675
675
:::row-end:::
676
676
---
@@ -679,7 +679,7 @@ You can use the macros described in the following table to filter your queries b
679
679
**@StartOfWeek** <sup>2</sup>
680
680
:::column-end:::
681
681
:::column span="3":::
682
-
Use with a <code>DateTime</code> field to filter for work items that relate to the current week or with a plus/minus offset. For example, you can find all items changed in the last two weeks with the clause <code>Changed Date>=@StartOfWeek-2</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
682
+
Use with a `DateTime` field to filter for work items that relate to the current week or with a plus/minus offset. For example, you can find all items changed in the last two weeks with the clause `Changed Date>=@StartOfWeek-2`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
683
683
:::column-end:::
684
684
:::row-end:::
685
685
---
@@ -688,7 +688,7 @@ You can use the macros described in the following table to filter your queries b
688
688
**@StartOfYear** <sup>2</sup>
689
689
:::column-end:::
690
690
:::column span="3":::
691
-
Use with a <code>DateTime</code> field to filter for work items that relate to the current year or with a plus/minus offset. For example, you can find all features that have a Target Date scheduled within the current year with the clause <code>Target Date>=@StartOfYear</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
691
+
Use with a `DateTime` field to filter for work items that relate to the current year or with a plus/minus offset. For example, you can find all features that have a Target Date scheduled within the current year with the clause `Target Date>=@StartOfYear`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
692
692
:::column-end:::
693
693
:::row-end:::
694
694
---
@@ -697,7 +697,7 @@ You can use the macros described in the following table to filter your queries b
697
697
**@TeamAreas**
698
698
:::column-end:::
699
699
:::column span="3":::
700
-
Only use with the **Area Path** field to filter for work items whose area path corresponds to one assigned to a specific team. Requires you use the **=** operator. For example, you can find all items assigned to the area paths assigned to the Web team with the clause <code>Area Path=@TeamAreas[Fabrikam Fiber]\Web</code>. For more examples, see [Query by area or iteration path](query-by-area-iteration-path.md).
700
+
Only use with the **Area Path** field to filter for work items whose area path corresponds to one assigned to a specific team. Requires you use the **=** operator. For example, you can find all items assigned to the area paths assigned to the Web team with the clause `Area Path=@TeamAreas [Fabrikam Fiber]\Web`. For more examples, see [Query by area or iteration path](query-by-area-iteration-path.md).
701
701
The **@TeamAreas** macro is supported for Azure DevOps Server 2019 and later versions, and only when run from the web portal.
702
702
:::column-end:::
703
703
:::row-end:::
@@ -707,7 +707,7 @@ You can use the macros described in the following table to filter your queries b
707
707
**@Today**
708
708
:::column-end:::
709
709
:::column span="3":::
710
-
Use with a <code>DateTime</code> field to filter for work items that relate to the current date or to an earlier date. You can also modify the **@Today** macro by subtracting days. For example, you can find all items created in the last week with the clause <code>Created Date>=@Today-7</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
710
+
Use with a `DateTime` field to filter for work items that relate to the current date or to an earlier date. You can also modify the **@Today** macro by subtracting days. For example, you can find all items created in the last week with the clause `Created Date>=@Today-7`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
Copy file name to clipboardExpand all lines: docs/boards/work-items/set-work-item-experience-vs.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Each view supports the following tasks:
22
22
23
23
|**Default experience**|**Legacy experience**|
24
24
|-----------------------|---------------------|
25
-
|- [View and add work items](./view-add-work-items.md)|- [Add work items](../backlogs/add-work-items.md)<br/>- [Use the query editor to list and manage queries](../queries/using-queries.md)<br/>- [Organize query folders and set query permissions](../queries/set-query-permissions.md)<br/>- [Open query in Excel](../backlogs/office/bulk-add-modify-work-items-excel.md)<br/>- [Send email of query results list using Outlook](../work-items/email-work-items.md)<br/>- [Create reports from query in Excel](/previous-versions/azure/devops/report/admin/create-status-and-trend-excel-reports)<br/>(on-premises Azure DevOps Server only)</li></ul>|
25
+
|- [View and add work items](./view-add-work-items.md)|- [Add work items](../backlogs/add-work-items.md)<br/>- [Use the query editor to list and manage queries](../queries/using-queries.md)<br/>- [Organize query folders and set query permissions](../queries/set-query-permissions.md)<br/>- [Open query in Excel](../backlogs/office/bulk-add-modify-work-items-excel.md)<br/>- [Send email of query results list using Outlook](../work-items/email-work-items.md)<br/>- [Create reports from query in Excel](/previous-versions/azure/devops/report/admin/create-status-and-trend-excel-reports)<br/>(on-premises Azure DevOps Server only)</br></ul>|
26
26
27
27
> [!NOTE]
28
28
> If you want to quickly access a list of work items based on their assignment to you, following, mentioned, or recent updates; then use the new default experience. However, if you rely on accessing queries from Team Explorer, then we recommend that you set your Landing page to the legacy option.
Copy file name to clipboardExpand all lines: docs/extend/develop/add-dashboard-widget.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -111,9 +111,9 @@ Add the below HTML in `hello-world.html`. We add the mandatory reference to `VSS
111
111
112
112
### Step 3: Your JavaScript
113
113
114
-
We use JavaScript to render content in the widget. In this article, we wrap all of our JavaScript code inside a <code><script></code> element in the HTML file. You can choose to have this code in a separate JavaScript file and refer it in the HTML file.
114
+
We use JavaScript to render content in the widget. In this article, we wrap all of our JavaScript code inside a `<script>` element in the HTML file. You can choose to have this code in a separate JavaScript file and refer it in the HTML file.
115
115
The code renders the content. This JavaScript code also initializes the VSS SDK, maps the code for your widget to your widget name, and notifies the extension framework of widget successes or failures.
116
-
In our case, below is the code that would print "Hello World" in the widget. Add this <code>script</code> element in the <code>head</code> of the HTML.
116
+
In our case, below is the code that would print "Hello World" in the widget. Add this `script` element in the `head` of the HTML.
117
117
118
118
```html
119
119
<scripttype="text/javascript">
@@ -167,7 +167,7 @@ The `vss-extension.json` should always be at the root of the folder (in this gui
167
167
168
168
<aid="image" />
169
169
170
-
### Step 4: Your extension's logo: <code>logo.png</code>
170
+
### Step 4: Your extension's logo: `logo.png`
171
171
172
172
Your logo is displayed in the Marketplace, and in the widget catalog once a user installs your extension.
173
173
@@ -177,7 +177,7 @@ To support TFS 2015 Update 3, you need an additional image that is 330 px x 160
177
177
178
178
You can name these images however you want as long as the extension manifest in the next step is updated with the names you use.
179
179
180
-
### Step 5: Your extension's manifest: <code>vss-extension.json</code>
180
+
### Step 5: Your extension's manifest: `vss-extension.json`
181
181
182
182
****Every*** extension must have an extension manifest file
183
183
* Read the [extension manifest reference](./manifest.md)
@@ -381,8 +381,8 @@ Copy the file `hello-world.html` from the previous example, and rename the copy
381
381
```
382
382
383
383
<br>
384
-
Add a new <code>div</code> element right below the <code>h2</code> to hold the query information.
385
-
Update the name of the widget from <code>HelloWorldWidget</code> to <code>HelloWorldWidget2</code> in the line where you call <code>VSS.register</code>.
384
+
Add a new `div` element right below the `h2` to hold the query information.
385
+
Update the name of the widget from `HelloWorldWidget` to `HelloWorldWidget2` in the line where you call `VSS.register`.
386
386
This allows the framework to uniquely identify the widget within the extension.
387
387
388
388
```html
@@ -502,9 +502,9 @@ Replace the `// Do something with the query` comment with the below:
@@ -679,7 +679,7 @@ Your folder now looks like the following example:
679
679
```
680
680
681
681
<br>
682
-
Add the below HTML in <code>configuration.html</code>. We basically add the mandatory reference to the <code>VSS.SDK.min.js</code> file and a <code>select</code> element for the dropdown to select a query from a preset list.
682
+
Add the below HTML in `configuration.html`. We basically add the mandatory reference to the `VSS.SDK.min.js` file and a `select` element for the dropdown to select a query from a preset list.
683
683
684
684
```html
685
685
<!DOCTYPE html>
@@ -876,8 +876,8 @@ return {
876
876
```
877
877
878
878
<br>
879
-
The hard-coded query path in <code>getQueryInfo</code> should be replaced with the configured query path, which can be extracted from the parameter <code>widgetSettings</code> that is passed to the method.
880
-
Add the below in the very beginning of the <code>getQueryInfo</code> method and replace the hard-coded querypath with <code>settings.queryPath</code>.
879
+
The hard-coded query path in `getQueryInfo` should be replaced with the configured query path, which can be extracted from the parameter `widgetSettings` that is passed to the method.
880
+
Add the below in the very beginning of the `getQueryInfo` method and replace the hard-coded querypath with `settings.queryPath`.
881
881
882
882
```JavaScript
883
883
var settings =JSON.parse(widgetSettings.customSettings.data);
0 commit comments