Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 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?

0 votes



One answer

Permanent link

 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/

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,942

Question asked: Feb 01 '17, 5:05 a.m.

Question was seen: 1,871 times

Last updated: Feb 01 '17, 8:15 a.m.

Confirmation Cancel Confirm