is it possible to write an operation advisor for Stream and Component Save in RTC?
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
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.