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 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".


Idan Shanny

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.