It's all about the answers!

Ask a question

How to link a workitem with another workitem in RTC.


Pankaj Kumar (17213) | asked Sep 20 '16, 2:18 a.m.
 


 Hello Team,

 I want to link a workitem with another workitem in RTC.
 Suppose in a workitem there is a check box attribute where if i select that check box then automatically it will open  another workitem.

Please suggest the solution related to this.


Thanks & regards
Pankaj Mishra

One answer



permanent link
Ralph Schoon (62.7k33643) | answered Sep 20 '16, 2:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I can tell, you can not do that. What you can do is to have a follow up action that creates a work item and creates and saves a work item, creates the link and then saves the link.

See https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ for getting started. There are various examples that you can follow.
See https://jazz.net/forum/questions/77260/how-to-create-new-work-item-from-java-server-side-plugin for creating work items in the server API.
See https://rsjazz.wordpress.com/?s=link+api for examples how to create and follow links.
See https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/
 for participants that do a save operation.

Your answer


Register or to post your answer.