get component names
Ariel Ramirez (1●3●4)
| asked Jul 31 '13, 8:44 a.m.
retagged Aug 14 '13, 12:27 p.m. by Te-Hsin Shih (285●4)
hey does anybody now a way for my follow up plugin (server side) to obtain the name of the components which the changes are being delivered to
|
One answer
A change set (IChangeSet) has a method, getComponent(), which returns the IComponentHandle for that change set.
You will need to resolve the handle into an IComponent where there is a getName() method. One way to resolve the handle is through IItemManger (available from the ITeamReposiotry) and calling getSharedItemIfKnown. |
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.
Comments
Can you provide a code sample of what you have so far?