Updating multiple work items
![]()
Sarthak Sharma (47●1●16●20)
| asked Aug 27 '12, 4:16 a.m.
edited Aug 27 '12, 4:34 a.m. by Ralph Schoon (63.3k●3●36●46)
If I have list of two or more workitems and I want to perform Save operation on all of them.
It is something like I have to set values from parent attribute to the same attribute in children. How Can it be done ? If I save 1 work item in the list then other work items in the list are lost as run() method is called again. Please suggest something. Thanks in advance. |
2 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Aug 27 '12, 4:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Sarthak,
I am not sure which run() method you refer to. Dependent of the context you will have to run several save or modify operation. On the server you can use saveWorkitem2() or saveWorkitem3() as used in https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ Using the client API you can use the same WorkItemOperation used in save https://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/ |
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.