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

Attribute value dynamically calculated by java code

Operation Parameter Behavior PlugIn can set attribute values based on Work Item Save event.
Can the value of the attribute be calculated dynamically by a plugin based on the change of another attribute (not based on Save event). For example: Attribute 2 should set based on the value chosen for Enum Attribute 1.

0 votes



2 answers

Permanent link

Your description is pretty vague. So if you want an answer write up a more precise example, if you want an answer

0 votes

Comments

You can use follow up actions or attribute customization to access the attributes. If you can access RQM/DNG data depends on the choices of the approaches and and are not totally clear to me.
If the value of the attribute is calculated, the user would NOT have to choose it at all. So, I can't answer and likely would only be able to tell if I did some prototypes which I don't have time to do.

Rather this use case is within RTC:

Project Setup: Attribute 1 & Attr 2 is are Value Sets. (values of Attr 2 depends on Attr 1).

Behavior intended: User selects Attr 1; Values of Attr 2 is calculated by rtc plugin & display as an Enum. (PlugIn pulls data from parent and child work items). User selects the intended value for Attr 2 and presses the Save button.


Permanent link

Project Setup: Attribute 1 & Attr 2 is are Value Sets. (values of Attr 2 depends on Attr 1).

Behavior intended: User selects Attr 1; Values of Attr 2 is calculated by rtc plugin & display as an Enum. (PlugIn uses the linked data from RQM & DNG). User selects the intended value for Attr 2 and presses the Save button.

Please note that Save event does not trigger the plugin in this case.

Is this possible ?

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
× 10,941

Question asked: Jul 06 '17, 7:18 a.m.

Question was seen: 2,019 times

Last updated: Jul 11 '17, 8:53 a.m.

Confirmation Cancel Confirm