It's all about the answers!

Ask a question

Get Component History Programmatically - RTC 4.02


Hakki Bozkurt (1631228) | asked Feb 04 '14, 4:24 a.m.
retagged Feb 18 '14, 2:41 p.m. by Sonia Dimitrov (27159)
Hi all, 
Can i get component history or last change date?
Is that possible? And, if possible how can i do it? Which way?

Accepted answer


permanent link
Sonia Dimitrov (27159) | answered Feb 19 '14, 6:20 p.m.
JAZZ DEVELOPER
Hi Hakki,

the IChangeHistory and IChangeHistoryDescriptor interfaces may help.  An IChangeHistory is associated with a component.

...
IWorkspaceConnection ws = ...
IChangeHistory changeHistory = ws.changeHistory(component);
        while( changeHistory != null )
        {
            IChangeHistoryDescriptor d = changeHistory.getHistoryDescriptor(true, null);
            changeHistory = d.previousHistory();
        }
...


Ralph Schoon selected this answer as the correct answer

Comments
Hakki Bozkurt commented Feb 20 '14, 2:11 a.m.

Hi Sonia,

Thanks for a good answer. I guess, I was looking it.

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.