It's all about the answers!

Ask a question

How to get all work items which contains attachment in RTC 3.0.1

Pallavi Deore (38134) | asked Jan 23 '19, 3:54 a.m.

 Hello Everyone,

I am using RTC 3.0.1.
I want to access all work items which contains attachment in RTC.
Also I want to know where does this attachment got stored or path for this attachment.
Waiting for the positive response.

Thanks in Advance.

One answer

permanent link
Ralph Schoon (63.0k33645) | answered Jan 23 '19, 5:22 a.m.
edited Jan 23 '19, 5:22 a.m.

 RTC 3.0.1 is so far in the no longer supported area, that I don't even have it anywhere in access.

The question is pretty open and does not provide any business/use case, so here a short answer.

In general you could create a work item query and select a condition Attachment exists. That would give you all work items of a project area with an attachment. 
In addition educate yourself in in what attributes an attachment has (in creating the work item query). E.g. it has only a name and no path. A path would not make any sense either. the attachments in work items are stored in a blob in the database. You only have access to that through the UI and APIs.

Your answer

Register or to post your answer.