You have to implement a custom follow-up action for the operation "com.ibm.team.workitem.operation.workItemSave".
I advice you to refer to the RTC Extension Workshops at https://jazz.net/library/content/articles/rtc/3.0.1/extensions-workshop/RTC301ExtPoT.pdf.
Cheers.