Create a Plugin to send an email when a work item is reated
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
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
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.