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

Need to programmatically create a work item in RTC when a record is created in CQ

New to the API world.  Is there an example out there of the steps/code needed to generate the creation of a work item in RTC when a record in CQ is generated and saved?  Basically - automatically generated the bridge link so as the user in CQ does not have to create 2 records.  Any guidance is very appreciated!

0 votes



One answer

Permanent link
One solution is the CQ synchronizer.

With respect to API start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/

https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ explains the basics and links to other posts. It uses the WorkItemOperation from https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation

0 votes

Comments

Thank you Ralph!  Will check out the links!

Can I extend this to ask a couple questions about the synchronizer that I'm having trouble answering as well?  Can we install it on Websphere?  And can you customize it so that it only syncs only at that creation time?  We don't want to mimic workflow.

Thank you in advance!

It would make more sense to ask a new question about the synchronizer, as that would more likely attract the right people.

Websphere: I can't remember that I had to install the external part into an application server. I would consider to read the install help.

The synchronizer has two ends one close to CQ and one close to RTC. The one in CQ is driven by a query, but the one in RTC is driven by work item changes. However you can set up what attributes to synchronize and also only sync one direction. So you don't have to sync the workflow (which s a good idea). You can also avoid sync conflicts by avoiding syncing attributes in both directions.

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

Question asked: Apr 12 '16, 9:30 p.m.

Question was seen: 3,405 times

Last updated: Apr 14 '16, 2:24 a.m.

Confirmation Cancel Confirm