It's all about the answers!

Ask a question

copying attribute values from one workitem to another


Naveen Chandani (4812022) | asked Dec 20 '12, 4:41 a.m.
Hi,

I have multiple workitems created each of different type. Parent child relationship is established between these workitems. Is it feasible to copy the value of inbuilt attribute (workitem state) in a child workitem to a customized created attribute in parent workitem.


One answer



permanent link
Stephane Leroy (1.4k149) | answered Dec 20 '12, 8:57 a.m.
JAZZ DEVELOPER
Hi Naveen,

may not be that easy to implement but you could investigate these 2 directions :

1) Use a participant (a.k.a. "follow-up" action)
   See :
     - the Extensions Workshop ( https://jazz.net/library/article/1000)
     - the following blog post from Ralph Schoon (for an example showing how to update a parent or child W.I. when saving a work item) :
       http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/

2) Use the HTTP filtered value provider and OSLC (to select the other work-item)
   See :
      - Jorge Diaz's blog post : http://jorgediazblog.wordpress.com/2012/06/27/work-item-customization-httpconector-and-oauth-in-rtc-4-0-for-oslc/
      - the wiki "Data Source Value Set Providers ": https://jazz.net/wiki/bin/view/Main/DataSourceValueSetProviders

   Note that you'd need to figure out the adhoc information to feed into the OSLC request.
 
Stéphane

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.