Getting a change set from an IChangeSetHandle
Hi,
I have an IChangeSetHandle object obtained from an AcceptReport and an associated ChangeSetInfo object. I want to use these to get at the Change Sets themselves so I can parse them and persist the results as a file. I've looked at the available documentation and forum posts but cannot, unfortunately find anything to help me do this. Hopefully there is a simple answer to this (I guess so) Thanks in advance for your help. Cheers, Andrew |
2 answers
You have to fetch the item using IRepositoryItemService on server side or IItemManager on the client side.
Then you can use following methods: IRepositoryItemService.fetchItem(IItemHandle itemHandle, String[] properties) IItemManager.fetchCompleteItem(IItemHandle itemHandle, int flags, IProgressMonitor monitor) Regards, Michele. |
Thanks Michele,
I'll give it a try and see what I get back. Cheers, Andrew |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.