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

RTC Server-side Participant for getting info from a parent workitem

I have two different work items that are linked by a Parent/Child relationship.  Our organization wants to have the title of the child WI to be automatically populated with data from both the parent and the child WIs. 

I have created an Advisor plugin to not allow the child to be saved without first establishing the link between the two work items. 

Both the advisor and the participant use the Save Work Item Operation ID: https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations

I found the following wiki post for an example of creating the server-side participant: https://jazz.net/wiki/bin/view/Main/CustomPreconditionFollowup

I am using the RTC 6.0.3 version of the server-sdk.

My local development server provision status page shows the participant is being loaded. 

I can set a breakpoint in the Advisor class but not the Participant class. 

Also, I was unable to use the code in the wiki post linked above as it was written.  The IAdditionalProcessDataParameter  class does not appear to be in my classpath at compile time. 

Any Ideas of what I might be missing?

0 votes



2 answers

Permanent link

 Hi Ryan


To me, this sounds like you may have an issue with your plugin.xml section for the participant. I would suggest to look at one of Ralph Schoons examples that serve a very similar use case that you are about to solve:
https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/

Best Regards
Lukas

0 votes

Comments

I've reviewed the blog post you reference here. It provides some good information, but I'm unable to download any of the source files that Ralph references in any of the blog posts because they are hosted on dropbox.com, because my company firewall blocks everything from that domain. 


Permanent link

I hadn't gone into the Project configuration and applied the Follow-Up Action defined my by participant feature project.

Once I applied the follow-up action I'm able to see the code is getting executed. Now to tackle the next problem...

0 votes

Your answer

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,938
× 457

Question asked: May 09 '18, 4:11 p.m.

Question was seen: 2,119 times

Last updated: May 15 '18, 9:31 p.m.

Confirmation Cancel Confirm