Extending RTC: automatically creating streams, when saving a specific workitem
Hello,
I need to extend RTC 4 so that, when a specific work item is saved, a new stream is automatically created. The stream should have a standard folder structure. It should be possible to automatically add the subscribers passed into the work item. Also the name of the stream should be given automatically, based on the other existing streams, for example, if the latest created stream was called "stream007", the extension should be able to find the last created stream and name the new stream "stream008". Did anyone try something like this? Is it possible to implement it? Thank you! Andrada |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Sep 08 '14, 1:01 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Start with https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ - there are other participants as well.
The blog also talks about SCM operations like creating Streams. However, be aware that the post state what is server and what s client API. The participant above is for runnng in the server - you can only use server and common API in these. See https://jazz.net/forum/questions/162809/service-failed-to-activate-because-a-service-that-it-depends-on-comibmteamrepositoryclientiteamrepositoryservice-is-not-registered for a discussion around this. |
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.
Comments
This should be something you can code up as a process adviser on the "work item save" operation (but others would have to give you the details). It sounds like you want to add a custom property that identifies the "latest created stream" for that work item. You probably will also want a custom string property which is the "string name prefix" (although you probably could infer that from the name of the "latest created stream". By "a standard folder structure", do you mean the same as the "lastest created stream"? Or perhaps another stream, whose name/id is stored in a custom "stream template" property? You will probably have to clarify what you mean by "automatically add the subscribers passed into the work item". Add the subscribers to what?