Update existing Work Items with new custom attributes
Hi,
I need to sync existing work items, however the sync fails because some of the newly added (not very new though haven’t synced for couple of months) fields are mandatory.
When I try to update their values (one column at a time) it fails again because the other required values are not set, obviously!
Any suggestion on how to handle this issue is much appreciated.
Something that came to my mind is removing the mandatory fields from operation behaviour, make the changes and when done set the mandatory fields back. Might not be very practical.
Thanks
Nag
Accepted answer
Hi,
there was a similar question recently. You have to temporarily remove the required attribute. You could probably create a special role that does not have the required properties, if you use an operation.
http://rsjazz.wordpress.com/2012/11/19/using-an-expression-to-synchronize-attributes-for-work-items-of-a-specific-type/ could help you with automation to synchronize the attributes when needed.
there was a similar question recently. You have to temporarily remove the required attribute. You could probably create a special role that does not have the required properties, if you use an operation.
http://rsjazz.wordpress.com/2012/11/19/using-an-expression-to-synchronize-attributes-for-work-items-of-a-specific-type/ could help you with automation to synchronize the attributes when needed.