It's all about the answers!

Ask a question

[EWM] Automation of adding Precondition via RTC Java API to the Project Area


Chandan M B (1133470) | asked Jun 30 '22, 6:26 a.m.

 Hello,


Is this possible to set the Pre-condition to the Project Area via RTC Java API

Example :
Pre-condition : Require Change set Delivery to Components
  • Add the Stream
  • Add the Components and Team Area
  • Save the Project Area
 

Accepted answer


permanent link
Ralph Schoon (63.0k33645) | answered Jun 30 '22, 7:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 The precondition and its configuration is stored in the process XML. It is possible to read and write the process XML e.g. using the Plain Java Client Libraries. I am however pretty sure that this is not a supported operation. If you do something wrong, you can damage your process.

Chandan M B selected this answer as the correct answer

Comments
Chandan M B commented Jun 30 '22, 7:15 a.m.

Thanks Ralph.

Any leads/example to modify the process xml programmatically. That would be helpful


Ralph Schoon commented Jun 30 '22, 7:18 a.m. | edited Jun 30 '22, 7:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Google for Java XML frameworks. Also, search on Jazz.net, there have been examples how to use the Java API to read and write the process XML.


E.g. Google Java API process XML site:jazz.net

Your answer


Register or to post your answer.