It's all about the answers!

Ask a question

How can I get human-readable "Version ID" from RTC using the API?

Will West (2145) | asked Apr 04 '16, 8:19 a.m.
edited Apr 04 '16, 9:02 a.m. by Ralph Schoon (63.3k33646)

I'm developing RTC client plugin and RTC server plugin.
Since RTC 5.x IBM introduced human-readable versions into RTC SCM (it's an unsigned integer that auto-increments with each commit). And I can't find any api (class/method) that can provide me Version ID for certain fileItem in certain changeset.

So, I have changeset object (IChangeSet), then I iterate through list of changes (IChange) in this changeset, then I can get fileItem object (IFileItem) for each change and so on. But I can't find the way to get Version ID for fileItem in certain changeset.

How can I get Version ID  through RTC client API or RTC server API?


Be the first one to answer this question!

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.