It's all about the answers!

Ask a question

How to synchronize the attribute change in all the projects when using a shared template?


Chandrasekar Muthukrishnan (32113) | asked Feb 01 '17, 5:05 a.m.

 We are using RTC 6.0.2.

Here we use project template shared to other projects. 
Now we are replacing a Boolean attribute with an attribute of enumeration type.
We need to synchronize the attribute in all the Work-items in all the project areas.
The exact issue is we need synchronize in such a way that value selected in the new attribute should be based on the selection of the new attribute .
Is there way to select the correct value during the synchronization itself?

One answer



permanent link
Ralph Schoon (59.1k23642) | answered Feb 01 '17, 8:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 I would assume you have to synchronize the attributes for all inheriting project areas. This is a way to do it wiht the API: https://rsjazz.wordpress.com/2012/11/19/using-an-expression-to-synchronize-attributes-for-work-items-of-a-specific-type/


But you really also want to add the value of the new attribute based on the existing one. so you would have to add a step to read the old value and set the new one. Similar to explained here: https://rsjazz.wordpress.com/2015/02/24/extending-the-workitem-command-line-with-new-commands/

Your answer


Register or to post your answer.