It's all about the answers!

Ask a question

is it possible to write an operation advisor for Stream and Component Save in RTC?


anup Gaur (1392444) | asked Jun 18 '18, 3:24 a.m.

 Hi,


We are trying to implement a RTC extension for Stream / Component Save operation in RTC.
What we are trying to achieve is to send a custom email to CLM Admin when a user creates a new Component or Stream in their projects.

I have already created Custom Email Rules / Notifications by using Work Item Operation Advisor before. So I'm trying to find the OperationID equivalent of "com.ibm.team.workitem.operation.workItemSave" for saving Component and Streams.
If we can know the operationID and some sample to get the extension point started, it would really help us.

Thanks in advance.

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered Jun 18 '18, 3:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The operation ID for save component is mentioned here: https://rsjazz.wordpress.com/2017/02/09/a-component-naming-convention-advisor/ . It is com.ibm.team.scm.server.component.

For save Stream you can find the information in https://rsjazz.wordpress.com/2017/02/13/diy-stream-naming-convention-advisors/ . It is com.ibm.team.scm.server.modifyStream .

You can find the ID in the process XML if you configure the operation n the process. This contains most of the information as well:  https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations unfortunately some of the newer operation IDs are missing here.

anup Gaur selected this answer as the correct answer

Comments
anup Gaur commented Jun 18 '18, 4:09 a.m. | edited Jun 18 '18, 4:10 a.m.

 Thanks Ralph,


As usual you are a Gem!!!

Thanks a ton.

Your answer


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.