Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Problem retrieving info of Plans within Follow-up action

We have created a follow-up action in the server (using operationParticipant extension point), assigned it to the Save/Plan action (com.ibm.team.apt.server.saveIterationPlan) and configure it to be run when a user saves a Plan.

Everything works fine and when the operation takes place we are able to reach our "run" method

    public void run(AdvisableOperation operation,
                IProcessConfigurationElement participantConfig,
                IParticipantInfoCollector collector, IProgressMonitor monitor)
                throws TeamRepositoryException {...}

from the implementation Class of the participant:
public class followupH extends AbstractService implements IOperationParticipant { ...}

Within our "run" method, we need to access some information about the recently saved plan, such as Plan id, Plan name, etc. Basically, the information contained in a "IIterationPlanRecord" should be fine for us.

Here comes our problem, we are not able to extract this info.
A usual "operation.getOperationData()" in the AdvisableOperation of the "run" method gives us just a String Object with the text"[modify/plan]". No NewStateItem nor OldState nor UUID... we are not able to extract any information from "AdvisableOperation operation".
Anyone working with advisors/participants in Plans could give us a hint?

Thank you very much in advance!

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937
× 234
× 89
× 50

Question asked: Aug 19 '15, 7:11 a.m.

Question was seen: 3,337 times

Last updated: Sep 22 '15, 10:59 a.m.

Confirmation Cancel Confirm