It's all about the answers!

Ask a question

Apply calculated-value script to existing wortkitems


VK L (8177154159) | 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.

Thanks.

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Mar 01 '13, 5:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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 http://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ http://rsjazz.wordpress.com/2012/11/19/using-an-expression-to-synchronize-attributes-for-work-items-of-a-specific-type/  http://rsjazz.wordpress.com/2012/11/19/using-expressions-for-automation/ and other posts on my blog for how this kind of automation can be used. There is code that you can download linked to http://rsjazz.wordpress.com/2012/11/19/using-an-expression-to-synchronize-attributes-for-work-items-of-a-specific-type/ 

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.