I want to capture save operation event of plan module using rtc sdk 4.0 to develop RTC Server side plugin
Accepted answer
do you mean that your plugin does not get triggered on the Save Plan Server operation?
these two operations from the table Ralph mentioned (first two in the table)
these two operations from the table Ralph mentioned (first two in the table)
Save Plan | Planning | RTC server | com.ibm.team.apt.server.saveIterationPlan | The Save Plan operation is executed whenever a plan is saved in the repository. |
Save Plan Snapshot | Planning | RTC server | com.ibm.team.apt.server.saveSnapshot | The Save Plan Snapshot operation is executed whenever a Plan Snapshot is saved in the repository. |
4 other answers
I am also not sure what you intend to do. The Plan API is pretty much internal API. I am also not sure where you want to put the data. Your question is not very detailed.
Not sure when exactly the operation Plan Save (server) is called. Here is where you have to start anyway:
https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
The operation definitions you need: https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations
More links here: https://rsjazz.wordpress.com/interesting-links/
The blog has examples for advisors and participants for other extension points, however the approach should be very similar.
Not sure when exactly the operation Plan Save (server) is called. Here is where you have to start anyway:
https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
The operation definitions you need: https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations
More links here: https://rsjazz.wordpress.com/interesting-links/
The blog has examples for advisors and participants for other extension points, however the approach should be very similar.
Hi Ralph,
Thanks for your reply.
The project is base of formal process template and we are using RTC 4.0.1.
We are trying to capture planned start and end dates of work item that are modified after we take planned snapshot in RTC plan.
These dates are not stored in database but we have reporting requirements bases on these dates.
We can access these dates using REST API but now with plugin development we want to put these dates in two custom time-stamp attributes then will produce reports using BIRT.
But main problem is we cannot detect save operation on plan after we take snapshot. The save operation of plan is only detected when work item in plan is modified.
Can you please help us with method, class in java api we should look for this save operation of plan.
Thanks in advance.
Regards,
Jonan
Comments
HI Sam,
Thanks for your reply
We are actually new to RTC plugin development.
We had previously created a plugin which works on workitem save operation
by implementing IOperationParticipant on followup action
using extension point : com.ibm.team.process.service.operationParticipants
However we dont know which interface we should implement to trigger plan save operation /snapshot save operation
and how to attach right extension point for this .
Thanks and Regards,
Jonan Kamble
the architecture of the plugin is the same..
you are still implementing the operationSave participant..
but in the plugin.xml, the operation you respond to is different.(and of course the data too) you should really take the self paced downloadable workshops
1 vote
As Sam states, you basically need to trigger on a different save operation - for the plan and not the work item. These dates are stored in the plan snapshot and not in the work items. Please be aware that there is no public API for plans and you have to use internal API that can be subject to change.
Comments
Robert Wen
Aug 14 '14, 7:04 a.m.I'm not sure I follow. A plan's start date and end date is always going to follow the iteration for which that plan is associated. That will never change.