How to get IChangeset object from Changeset UUID
Is it possible to get ChangeSet object from Changeset UUID?
|
2 answers
You can create an IChangeSetHandle from the UUID:
IChangeSetHandle csHandle = (IChangeSetHandle) IChangeSet.ITEM_TYPE.createItemHandle(uuid, null); Once you have the handle, you can fetch the full IChangeSet object on the client using the IItemManager:
On the server you would use IRepositoryItemService to fetch the item. |
Thanks Andrew it worked.
Just want to add one more thing about setting uuid. UUID uuid1 = UUID.valueOf("_uCIIAkMyEeKVFJuhAA5B5Q");
|
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.