It's all about the answers!

Ask a question

Script to copy values to work items


V Niranjan (12545374) | asked Jun 17 '15, 3:40 a.m.
edited Jun 17 '15, 3:46 a.m. by Ralph Schoon (63.6k33646)
                                                                        
I need a script to copy values as follows.                              
                                                                        
I have a Business Need work item and 3 attributes as Planned Start      
Date, SLA and Planned End Date                                          
                                                                        
Now I need to copy the above 3 values to the TASK work item linked to   
the Business Need. The TASK work item will also have the above 3 fields.
                                                                        
Request your help for a DOJO script URGENTLY.                                
                                             
Regards
Niranjan V

One answer



permanent link
Ralph Schoon (63.6k33646) | answered Jun 17 '15, 3:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
 If you talk about attribute customization and JavaScript, I am pretty sure you can't do this. The JavaScript API does not provide any means to follow a link to another work item.

https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ provides an operational behavior very similar to what you describe, just using a different link type.

Your answer


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