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

Query on possibilities of script based calculated value for multiple attributes

Hi,


Is there any possibility to handle multiple attributes in a single script instead of having individual script for each attribute.

For example, we have 2 attributes of same type and a script based calculated value (Attribute customization) has been implemented for one of the attributes (Attribute1).
If the same customization is required for Attribute2, then Is there a way to handle this also in the same script implemented for Attribute1. (or) do we need to create a new script and assign its return value to Attribute2?

Because we have more than 10 such kind of similar attributes and this customization should be implemented for all these attributes.

0 votes


Accepted answer

Permanent link
No, the calculated value can only return one value that is then processed. You have no way to "set" another attribute in a calculated value script that I would be aware of. The API does not support setting values.

You might be able to use the same script source and use some configuration option to avoid writing the code several times.
SatyaPrameela Sabbarapu selected this answer as the correct answer

0 votes

Comments

Thanks for the response.


Could you please help me in understanding like how can the configuration options be used and where can i found these options.

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
× 7,497
× 1,327

Question asked: Jun 30 '20, 6:06 a.m.

Question was seen: 661 times

Last updated: Jul 01 '20, 8:51 a.m.

Confirmation Cancel Confirm