It's all about the answers!

Ask a question

synchronize attribute


Roger Layani (5313238) | asked Apr 02 '13, 7:08 a.m.
After addinf a new custom Field I would like to synchronize all existing Work Items with the new added field.
For this I use the Eclipse sub-menu on work item type button and run the comment synchronize attribute.
But this interface is very not convenient to synchronize the entire work item existing list.
You can not select all the existing  work items and I have to proceed by part of 1000 items .
The action take several minutes and when you have more than 30000 items it is not usable for admin to wait completion and act the next 1000 list.

Is there another way to do same operation maybe  programmatic ally ?

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered Apr 02 '13, 8:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Roger, you can also use the plain Java Client Libraries to do this. One example is provided here: http://rsjazz.wordpress.com/2012/11/19/using-an-expression-to-synchronize-attributes-for-work-items-of-a-specific-type/

You should also check a similar question here: https://jazz.net/forum/questions/107941/synchronize-attributes-of-thousands-of-work-items-is-there-an-easy-way for other ways, especially Kevin's answer.
Roger Layani selected this answer as the correct answer

One other answer



permanent link
Roger Layani (5313238) | answered Apr 02 '13, 9:12 a.m.

Hi Ralph

Thank you for the very usefull link.

this really will gain time for my RTC admin tasks.

Regards

Roger


Comments
Ralph Schoon commented Apr 11 '13, 12:26 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Roger, there was a discussion the next day and here is another way to do it in the tool, without having to run some automation: https://jazz.net/forum/questions/107941/synchronize-attributes-of-thousands-of-work-items-is-there-an-easy-way

Dependent on how many you have, you might have to increase a timeout though.

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.