How to populate data using Create Link button (RTC 4.0.3)
We are now on RTC 4.0.3 and would like information on how to auto-populate information from a parent work item onto the new child item when using the Create Linked button. Is there an easy way to do this in the latest RTC version without extensive development experience? Thank you for your assistance.
3 answers
Can you clarify what data exactly you want to populate? There are two functions in RTC which might help you: Create workitem copy and create from template. You can create number of prefilled templates and then just find them in the dialog for which you have provided screen snapshot (no need to use Create Linked Story button)
Let us know if it helps you.
Comments
Ralph's post : http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/
has a similar or rather an converse use case addressed with all the sample code explained in detail.This I believe this would be a good place to start with with.
You could additionally raise an enhancement request so that the functionality is reviewed for implementation in the product. The place to raise the request would be :
http://www.ibm.com/developerworks/support/rational/rfe/
I'm not aware of functionality to allow this in the Web client (as at v4.03) but it would be useful.
In the Eclipse Client (v3.0.1.1 and beyond) there is a Duplicate function that will do what you want. Click on the ticket header and select 'Duplicate' in the context menu that results. You are then presented with a list of the populated fields in your ticket you can elect to copy over in to your new ticket.
The result is 2 tickets that Mention one another and have relation type 'Copies / Copied From' (although this seems to be the wrong way round in Eclipse 3.0.1.1).
An enhancement request to have the 'Duplicate' and 'Extract Work Item' Eclipse functionality also available in the Web Client would be v. handy.