Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Apply calculated-value script to existing wortkitems

 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.

0 votes



One answer

Permanent link
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/ 

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,126

Question asked: Feb 28 '13, 10:52 a.m.

Question was seen: 4,441 times

Last updated: Mar 01 '13, 5:31 a.m.

Confirmation Cancel Confirm