Bulk update of few fields in work items in project area of RTC
![](http://jazz.net/_images/myphoto/573a47b8f65b728750c106205f7ddeef.jpg)
Hi,
I want to update few fields with same default value in few work items in current project area.
After our release of RTC few attributes showing lilteral.i2 some id name. Its because in current release we removed that id and used another literal id so that it will compatible to calculate multiplication of 2 attributes
Earlier This literal id represents default value. so now i want to update few work item's attributes with default value instead of literal.l2 (error)
please let me know as its blocking our users to use that field.
Thanks,
Kavita
2 answers
![](http://jazz.net/_images/myphoto/573a47b8f65b728750c106205f7ddeef.jpg)
Since you removed and created an new literal, instead of just renaming the old one, there is no other way than to go trough all work items and modify the attribute value.
I would try to create a query, and use the Bulk update in the query UI
Comments
![](http://jazz.net/_images/myphoto/573a47b8f65b728750c106205f7ddeef.jpg)
Actualy we have 3 attributes of this kind getting errors. Want to update all with single default value. I tried with Query select all and right click and change value. But if I try to update one attributes value it gives error for other 2 attributes. no other way in query to update multiple work tickets and multiple fields at a time so that error wont occur?
![](http://jazz.net/_images/myphoto/62caa50b86238aa825ddda7efde85655.jpg)
Did you try to modify all parameter in one shot
![](http://jazz.net/_images/myphoto/573a47b8f65b728750c106205f7ddeef.jpg)
You could use the plain Java Client Libraries to update all enumeration values. See http://rsjazz.wordpress.com/2012/08/20/manipulationg-work-item-enumeration-values/ and related posts. The effort might be too high if the number of work items is small. There is also a way to run queries from the plain Java Client Libraries. I will try to blog example code today.