It's all about the answers!

Ask a question

Apply calculated-value script to existing wortkitems

VK L (8177156159) | asked Feb 28 '13, 10:52 a.m.
edited Feb 28 '13, 11:10 a.m.
 Hi All,
            I have applied a new calculated-value script and dependencies to an existing attribute. How to apply it to existing workitems automatically? Is it possible?

Existing workitems are currently showing the old value and are getting updated with script calculation - only on an edit+save. It would be too difficult to update each item manually.

Please advise.


One answer

permanent link
Ralph Schoon (63.3k33646) | answered Mar 01 '13, 5:31 a.m.
Valli you could try to run a query and then an automated save from the Plain Java Client Libraries.

I have not tried that myself in this special context and would suggest to try it on a test server.

See and other posts on my blog for how this kind of automation can be used. There is code that you can download linked to 

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.