index > Team Foundation Server - Work Item Tracking > Query for attachments

Query for attachments


Is there any possibility to query for specific attachments or to query the comment of those attachments ? These fields are not listed in  the Query variable list.
paso
Unfortunately attachments cannot be queried. You can query for number of attachments to a workitem (using AttachedFileCount field), but not on their name or comments.


http://blogs.msdn.com/narend
Naren Datha - MSFT

At least it should be possible to query for the comment of attachments.

What's the use of database that holds all the information if you have no tools to retrieve that information ?

paso

I guess the only reason I can say we did not provide the ability to query on attachment file name and comment is additional work for v1.

I agree with you that ability to query on these data is useful. Again, I will log this in our product database for considering implementing this feature in next release.

Thanks,

Mohammad

Mohammad Iqubal - MSFT
reply 4

You can use google to search for other answers

 

More Articles

Open source control
Datasource to list all work items in a query.
New work item ticker tool?
missing Microsoft.TeamFoundation.WorkItemTracking.Controls dll
Custom Work Item Types and Sort Order
VS 2005 Team automatically includes local files into the solution...
End Date for Iterations
Implementing ExecuteDefaultAction
Importing existing tasks into the new Team Project
how do you delete defects?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

limit control type links control to spec…
Removing User option under "Assigne…
Global Lists & Default Values
Mapping of TFS text fields on MS Project…
Using a Version Label in a WorkItem
Commas in resource names
Work items problem
Connect to TFS via MS Word...
Add Related Work Item to different Proje…
Work item description formatting
Updating GlobalList contents
Opening WI Attachments Requires Username…
Related items
Unpublished changes in Project
Supress the "Team" Menu

Hot Articles

How to get the email body from an email …
Task "WITs" from Group "W…
VSTO and VSTS integration
Add Related Work Item to different Proje…
Deadline in Tasks?
Bulk update using MS Excel is very slow
MPP Resource Name Issue
View history in MS Excel
Why there is no Date related fields when…
Event subscription filter - limited to S…
Making the query find items without a re…
Status of a linked work item
TF54000: Cannot update data because the …
FROZEN rule behaviour
Implementing ExecuteDefaultAction

Recommend Articles

Work Item - LISTITEM Value to return the…
How to e-mail users when WorkItems are a…
Automatically create a work item during …
How can I know who's link to my WI??
Comments are lost when workitem is expor…
Adding / Modifying Work Item Fields
Strange Problem --- SQL Server 2005 and …
WITIMPORT: Cannot complete the operation…
Using Work Items for enhancement requests
Clarification Reg. Chaild Workitem
Deleted AD resource causes publishing er…
Can users add and view work items from t…
TF80071 connecting MPP to Team project
Exception on import: It was String, but …
WorkItem API problem: Cannot update Fiel…