Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes

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?



One answer

Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Sep 08 '14, 8:32 a.m.

Question was seen: 4,815 times

Last updated: Sep 08 '14, 1:01 p.m.

Confirmation Cancel Confirm