It's all about the answers!

Ask a question

Create a Plugin to send an email when a work item is reated


Richard Moran (676) | asked May 11 '10, 5:31 p.m.
I have created a working plug-in that can send an email when a work item of a specific type is saved using the IOperationAdvisor interface and extending the com.ibm.team.workitem.operation.workItemSave operation. What I want to do is send the email when the item is initially created, but I am not sure how I can identify that via the API. Any help or suggestions would be appreciated. Thanks.

One answer



permanent link
Idan Shanny (124) | answered Oct 24 '13, 4:13 a.m.
 Maybe a bit late, but I'd be very happy if you could share your email sending code. I'm looking for such, as you can see here:

Regarding your question, if it is still relevant you can see the code here:

it demonstrates how to check if a WorkItem is "fresh".

Thanks,

Idan Shanny
idan@manageware.co.il

Your answer


Register or to post your answer.