It's all about the answers!

Ask a question

Update existing Work Items with new custom attributes

Naghmeh Namdar (31168) | asked Nov 26 '12, 8:20 a.m.
edited Nov 26 '12, 8:22 a.m.

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.   



Accepted answer

permanent link
Ralph Schoon (62.0k33643) | answered Nov 26 '12, 8:26 a.m.

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. could help you with automation to synchronize the attributes when needed.
Naghmeh Namdar selected this answer as the correct answer

Your answer

Register or to post your answer.