It's all about the answers!

Ask a question

Changesets or files that belong to a WorkItem


Jafar Al-Kofahi (4152) | asked Feb 27 '10, 6:08 p.m.
Hi,

I have been looking for a while for a way to get the change sets related to a work item, I think I have that code now but I am not sure how to get the file affected by the change set, I did find some code in the forums that used a method as follows:

IVersionable file =this.scmManager.getFileFromHandle(change.item());

But I couldnt get which class "getFileFromHandle" belongs to?
If you have any other way or know the answer please help, any pointers would be appreciated.

I have this posted in using RTC but I am not sure if it should be there or here sorry for the double post!

Thanks
Jafar

One answer



permanent link
Jafar Al-Kofahi (4152) | answered Mar 02 '10, 8:12 p.m.
If I would modify the question a little bit it would be something like:

If I have the IChangeSet object for a workitem how can I get the file that change set belongs too? Any tips would be great!

Thanks
Jafar

Your answer


Register or to post your answer.