In TFS we have a feature called Inbox. All users of TFS can register userstories (idea’s, suggestions etc.) under this feature. Productowners validate once in the month all the userstories and link them to another feature. This is a manual action that takes a lot of time.
Is there a possibility to create a query, export the query to Excel, change the featureID and publish it again?
I already did some attempts but in most of the attempts the connection with the original feature was lost.
We are using TFS 2013.
You can use Backlog in TFS web access to drag User story from one Feature to another. It's very convenient.
Adding:
You are right that in TFS 2013, we can't drag items on Backlogs. But we can drag them in a query result in VS. I just tested with VS2015+TFS2013.5. Select "Work Items and Direct Links" in a work item query, and add clauses as the screenshot:
Then you can drag the User Story to any Feature in the Query result. After save the result, the User Story will go to the new Feature:
Yes you can. There is Add-in to Excel - Team Foundation Add-in. You can use it to load query results into excel(New List in Add-in tab), change come fields in the results (you can customize fields in query's Column options) and then publish the results.
Related
I am new to TFS and know the basic concepts. In my case we have customized TFS a lot which contains around 17 collections, custom fields in work items etc.
I have some queries for which I require some answers. The questions might be generic, but any help or suggestions on the below queries would be great.
Following are my queries:
1.) Show Work Item ID in a specific format. Can it be done
2.) Auto Fill custom fields for a work item based on a category / linked bugs (analogous to Relative Path column type)
3.) While raising a WI through Visual Studio development tool, the datepicker only takes date value and not time. The same work items when raised through web portal the datepicker gives time value as well.
4.) Auto Fill the efforts spent in Child Work items (summation of all child link items in the parent)
5.) Reminders to be sent if iteration / scrum set date crossed. Also check for Work Items as well, if set date is crossed.
6.) Create Queries which can query across all collections / verticals. Currently queries can be made only against each entire collection, but not across all collections. Do we have any mechanism to query against multiple collections?
7.) Email alerts customizations in TFS.
8.) Can the collections be merged into 1 default collection.
I have tried to find few answers from my end as well, and would like to know, if it is correct.
1.) Work Item ID cannot be shown in a specific format as it is system generated
2.) For Auto Filling of Work Item fields, it cannot be done. Manual approach is the only way (unless there is a way to pre-populate fields
3.) One can only query for all projects in a single collection. But it is not possible to query against multiple collections and get the results.
So require assistance on the above queries and also validate the answers I have got for few of my questions.
Any help or suggestions or relevant links would be great.
Thanks In Advance!!!..
Please kindly check below inputs
You are right. This is by designed. You can not change to use other
format of work item.
Yes. This could not be done at present. It's still a user voice, but
on the Roadmap. Support for calculated fields and roll-ups.
Sorry, not get your point.You could use the DateTimeControl type to give users a calendar picker to select a date for a DateTime field. By using this control, you can quickly select a date and time for the field. For details.
You could do this from a sprint backlog or task board. Details
please take a look at our official tutorial here: Rollup of work
and other fields
We do not have this kind of build-in time reminder for work items.
However, as a workaround, There is a dashboard widget that uses #me
in its query.
You can also cobble something together using the REST API and a
scheduled build. Calling a work item query and sending email is
pretty easy from PowerShell.
No, they are using different database. You are only able to query
across team projects int the same project collection.
It's able to do this but with a little bit complicated. For detail
info, please take a look at this link: Customize TFS 2015 alert
email
There is no default way to do this. I do not think there is a
possibility of merging two TFS collections other than creating a new
collection, creating the team projects and use a tool such as TFS
integration tools to move the team projects from the source
collections.
As you can see, history will be rewritten with new dates, changeset
and work items ids etc, if you are trying to merge collections.
I want to select user stories with more than 5 bugs as children.
Using below query I can get user stories with at least one bug but filtering out the ones with less than 5 I'm lost.
How can I do this? Or is there any other way I can get this output? i.e: TFS extension
There is no build-in feature to count/filter linked work item's count of a specific work item type.
As a workaround, you could export tfs query results to Excel and manage the results in excel side. With the help of excel, you should be able to filter out those work items you needs.
Another way is using TFS API to get the work items and their linked work items with bug type, finally count the number of linked work items. About how to use API, please take a look at this related question: Retrieving work items and their linked work items in a single query using the TFS APIs
You can use in the query in "Related Link Count" field:
I want to add in TFS query where parameter "Assigned to" will be equal to team member selected from dropdown list This oportunity exists in Work/Query. There will be great if I can put such query on overview.
I cannot find this option, is it possible? I'm using TFS 2015.
Derrick Fu MSFT #Brett – sorry for the frustration. With TFS2015, we
shipped a new user picking experience designed around an MRU list and
search experience. The “random” list of users you are seeing is
actually the most recent users you have assigned work items to. For
scoped person fields, we realize this is a bit of a takeback since you
no longer get a scoped list of users.
If you want, you can re-enable the old picking experience (without
MRU, search, and avatars) by running the following command on your TFS
instance: exec prc_SetRegistryValue 1,
‘#\Service\WorkItemTracking\Settings\UseTextControlForIdentityFields\’, true
This will change all person fields across the collection back to the
old behavior.
Source Link: VS2015 Update 2 and TFS 2015 Update 2 have shipped
There also has been a uservocie- Limit items in Assigned To Drop down to ALLOWEDVALUES in Web interface you can vote up it to get more attention.
How can I display a tile on my TFS project home page with the remaining effort across all user stories?
We're using the Scrum template in TFS 2012.
It's easy to write a query for the number of Product Backlog Items, or the number of Tasks, but I'd really like a metric showing the remaining effort for both.
Unfortunately, this is not possible in the TFS WA.
You could alternatively create an Excel report and integrate it in the SharePoint dashboard.
Can we add/modify the filter of the boards:
Work/Backlog/product backlog/board(the stories/backlogitems)
Should be able to filter the Iterations/Sprints
Work/board(tasks)
Should be able to change the Areapath filtering
Is there any way to change the default filter and/or add quick filters?
As per this post, you can't really amend the underlying
query for the task board:
How do I change the underlying query for the task board (and backlog board) on TFS Preview
Although as mentioned the tags in TFS 2012 Update 2 can help.
However we achieved something similar to what you are
asking by creating a team per product.
In the web control panel for your team project, create teams (and area paths) for
each product you are interested in.
In the control panel, for each of these teams, you can set which
iterations are associated with them. So for a particular team,
you associate only the iterations you are interested in for that
product.
You are then able to switch between teams via a drop-down at the
top-left in the TFS web interface (you will need to use Browse All
originally.)
See Multiple Teams with Microsoft Team Foundation Server 2012 & Visual Studio Scrum V2.0 for a good reference for this.
The Work Item Tagging feature in TFS 2012 Update 2 can help.
Other than that, you can write your own plugin.