It's all about the answers!

Ask a question

[RTC] How to get a file changeset history in SCM via JAVA API


Chandan M B (11314184) | asked Feb 14 '22, 2:58 p.m.

 Hi,


I have a file stored in SCM delivered using changeset associating to the workitem. I need to fetch the latest changeset associated to the file in SCM so that I can get the workitem number with API.

Any leads would be appreciated.

Kind Regards,
Chandan



Comments
Chandan M B commented Feb 15 '22, 6:13 a.m. | edited Feb 15 '22, 6:13 a.m.

Ralph Schoon commented Feb 15 '22, 8:06 a.m. | edited Feb 15 '22, 8:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I'd strongly suggest to not touch that API as it is internal and subject to change. 

If you want to access the EWM SCM system and create automation, you have these options as far as I can tell:

  1. Use  the SCM Command Line (LSCM/SCM)
  2. Look into the Plain Java Client Libraries. Part of the SCM API (filesystem,scm) is available there you will understand what is what looking at the package names. I have successfully used it for my automation. But even here might be spots where you need to use internal API, however, that API has been very stable so far. 

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.