It's all about the answers!

Ask a question

get component names


Ariel Ramirez (124) | asked Jul 31 '13, 8:44 a.m.
retagged Aug 14 '13, 12:27 p.m. by Te-Hsin Shih (2854)
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

Comments
Tim Mok commented Jul 31 '13, 9:24 a.m.
JAZZ DEVELOPER

Can you provide a code sample of what you have so far?

One answer



permanent link
Philip Smith (1862) | answered Aug 14 '13, 2:38 p.m.
JAZZ DEVELOPER
 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


Register or to post 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.