TFS search dialog for items - tfs

Has the team explorer a search dialog for TFS items without to create a query?
Are there any third party tools for searching TFS items with full-text searches?

Yes, there is a plugin called Search Work Items.

The Search Work Items plugin doesn't work with multiple words across fields, so you cant do things like "system crash jrodgers", "system crash State:active", "(system or fatal) crash -closed".
If you want true full text search, you can use this: http://teamsearchapp.com
Disclaimer: I built the product at that address, so take my advice for what it is worth...

Yes, http://www.teamcompanion.com a 3rd Party TFS tool in Outlook.
You get a nice UI to create queries.

Related

how can I find all tickets that changed/moved projects?

The query I tried is Project CHANGED FROM "Customer triage", but jira says it's not supported.
Is there a way to query the tickets that were created in project A, but were moved?
Evidently, this is not possible to do out of box with JIRA; "Project" just doesn't support any historic search functionality:
https://confluence.atlassian.com/jiracoreserver073/advanced-searching-fields-reference-861257219.html#Advancedsearchingfieldsreference-ProjectProject
However, with some Googling, it appears you may be able to accomplish this with ScriptRunner:
https://community.atlassian.com/t5/Jira-questions/View-issues-that-have-been-moved-from-one-project-to-another/qaq-p/790346

How do I convert my flat list to a tree list when trying to bulk import from Excel 2013 to TFS?

I've got a lot of product backlog items that I want to load into TFS. We've already got most of these defined in an Excel spreadsheet, so I thought that bulk importing from Excel to TFS as described here would be the best way to go.
If I just wanted a flat list, I'd be fine. Excel 2013 is a bit different than the screenshots in that article, but it worked pretty much the same. I went to the TEAM menu option and selected a new list, and then built the list from my selected query. I got a screen with my existing work items that looked like this:
According to the article I linked above, if I want to be able to add sub-tasks I need to convert the flat list to a tree list. I'm supposed to do this "by adding a tree level." However, here's the problem with that:
I've tried clicking in various cells in case something needs to be selected to "enable" this option, but my blind clicking has yielded no luck. Am I just terrible at following instructions, or does Excel 2013 have some quirk that I need to work around?
What do I need to do to enable this so that I can bulk import sub-tasks?
The Work Item Query you select needs to be a tree-based query. I'm guessing the WI Query you are selecting is a flat-list, that's why those features aren't lighting up in Excel.
To build off of Dylan Smith's answer, here's how to get your Work Item Query into a tree-based form (so you can add a tree level). This works with Team Foundation Server 2012 and higher.
Here is where to go within TFS 2012. Using the web interface, you should navigate to the query you want to load into Excel. From there, go to the 'Editor' section of the query, then there you can change the type of query to be "Tree of Work Items".
With that done, you can now load the list into Excel (using the Team tab, as described elsewhere). You can then Add Tree Levels, Add Child, etc.

Search Work Items Query

After using the 'Search Work Items' plugin for TFS 2010, I am struggling with the seeming limitations of the similar tool in TFS 2012.
My teams use this ad-hoc query to quickly search across all team projects to find work items based on a number of fields. I have been unable to find a way to modify the query to search additional fields and remove the #Project limitation. In TFS 2010 using the "--Template" string to open and modify the query was the ticket. Is there a similar solution in TFS 2012?
It is possible to manually specify all the extra fields every time using the search syntax (painful) - but how to remove limitations such as #Project etc?
You should just be able to open a query in Team Explorer and remove the #project designation. You however will not be able to remove the #project limitation from the search box now on the TFS 2012 Web Access UI as it will only search across a single Team Project.
I would recommend that you read:
http://blog.hinshelwood.com/project-of-projects-with-team-foundation-server-2010/
http://blog.hinshelwood.com/one-team-project/
I think as you go forward you will find more and more that you are running into the Team Project boundary.

How can I do a simple cross-project search in TFS 2012?

We are planning to move our projects (including defect databases) to TFS. I see that I can create a work item query that spans projects, but it doesn't appear that the "quick search" field supports cross-project searches. What is the best way to accomplish this? We have "light users" that just want to come in and search for certain keywords across all projects.
In the new query editor, right click on the Project clause, and select Delete Clause. Then when you run the query, you see everything. The result doesn't have the "Project" column. You can click on Column Options, and then Select "All Projects". Then select "Team Project" and push it to the right. This will show you which project the item belongs to. Hope this is helpful.
There is no way to search across projects because Web Access always limits the search to the current project when running search query on the server.
The only solution I could suggest is to use work item queries and specify the projects explicitly.

TFS: issues batch update

How can I change state for dozen issues in "few clicks" in TFS? I know it is possible to export them all into Excel, do batch operation and "import" them back... (or something like this, didn't try actually).
But I am wondering if there is any quicker way to do that? For example, I would like to:
- launch some query;
- select few issues (for example, that have same 'State'='Active');
Here I would like to see some kind of dialog that display only those issue properties, that are the same. After that:
- change some field value (for example, state from 'Active' to 'Resolved');
- click 'Save'
And have each selected issue updated.
Is this possible with usual Team Explorer? I know such operation is in Telerik TFS client, but I don't like it: it doesn't allow to query issues from different projects in one time. Probably there is a simple add-on for Visual Studio that do that?
Thanks a lot!
You can use web access (the web-based front end for TFS). It supports batch updating of work items from its query results view.
Exporting to Excel is actually reasonably quick and easy. Here are the general steps (reciting from memory so may not be 100% complete):
Right click on your query in Team Explorer and select the open in Excel command (you can also do this from the query results tool window).
Update the work items in Excel as appropriate.
In Excel, select the "Team" tab on the ribbon and click Publish.
That's it!
You could use the command line: See here for an example:
http://blogs.msdn.com/b/buckh/archive/2006/09/07/tfs-power-toys-tfpt.aspx

Resources