It's all about the answers!

Ask a question

RTC server side plugin behavior


KT PD (5910) | asked Oct 19 '21, 1:56 a.m.

 Hello,

I am working on RTC 6.0.6 . I have created one server side extension to create child work item automatically when parent work item save (on first save) and parent child link should created.
The plugin is working fine , but when I changed the state of the parent work item and save it, then again the same children are created automatically, i.e. on every save action of parent work item, children are created.
Can you please help me on the same?

Thanks

One answer



permanent link
Luca Martinucci (1.0k397112) | answered Oct 19 '21, 2:30 a.m.

By default, a work item save plugin is executed on every save action.

If you want to execute it  only in a certain state, you should add a check on the state in the plugin and have the code exit without creating any child work item.

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.