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 (32328) | 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 (63.1k33645) | 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.


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.