There was a question from a team member how to bulk edit TFS work items. In the past the only answer to this question would be use excel. Open a query in Excel and update and publish. Is there any other way to achieve this easily without doing one by one work item edit in a query result? Query result opened in Web or in Visual Studio you can edit each work item by clicking on each, and then save bulk of work items. But is it possible to change a value of a field for many work items at once. Let’s look at the bulk edit options available with TFS see the possibilities.
Edit Selected Work Items in a Query Result.
You can open a query result in web portal and select the required work items. Then right clicking and click “Edit selected work item(s)”.
In the popup window select the required field and value. You can edit multiple fields. Click OK when done editing.
Save all changes.
Using Excel
You need to have Team tab availability in excel to use Excel to edit TFS work items. If you do not have Team tab in Excel follow the instructions here. To edit work item field in excel it should be available as a column in the query you are using. You can change columns in the query using column options.
Open Selected Work Items in Excel via Visual Studio
Or you can open a new excel document and in the Team tab click New List. Connect to the team foundation server, team project. In the next popup window select the query to open it in Excel.
Do the changes required. Click Publish in Team Tab of Excel.
Change applied to work items.
Wednesday, 1 February 2017
Bulk Editing Work Items in TFS
Labels:
bulk,
edit,
excel,
query,
team services,
tfs,
work item,
Work Items
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Dynamic block allows to create nested multi level block structures in terraform code. Conditional usage of such blocks are really useful in...
-
In Azure DevOps YAML pipelines there are several functions available for you to use. replace is such a useful function, which you can use t...
-
We have discueed, that we have to use an environment variable to handle input parameter default values, if we are using trigger for workflo...
-
Adding Azure Container Registry (ACR) service connection to Azure DevOps is really simple as described in " Create Service Connection ...
-
Some times a silly mistake can waste lot of time of a developer. The exception “System.IO.IOException: The response ended prematurely.” whil...
No comments:
Post a Comment