How to create new Operations in the Operation Advisor Tab ?
I would like to create a new "Operation" for the Operation Advisor... I don't mean a new pre or post condition (I have already created those) but a new trigger. So for example in the Operation Advisor in Team Configuration I have the triggers of saving and deleting work items, which can then be followed by conditions. I would like a new trigger of "opening" a work item that then triggers a pre or post condition. If it is not possible to configure that in the Eclipse client, what extension points do I need to look at, in order to implement my own. Thanks for any answers.
-David
-David
One answer
I take it by "opening" you are referring to a state change within a particular work item's workflow? If so, you just need to hook into the usual work item save operation, and then check the value returned by the ISaveParameter#getWorkflowAction() method. This will allow you to see if the workflow action is the one you're interested in, then you can do whatever you need to do.