How do you create a column that displays values based on a calculation involving other attributes?
![]()
Product: DOORS Next Generation
For example, you may have the attributes:
Probability: Low, Medium or High
Risk: Low, Medium or High
Then you have a definition for a Rating value:
Low = 1, Medium = 2 and High = 3
Rating = Probability * Risk
How would you add the Rating column?
|
One answer
![]()
Ian Barnard (2.0k●6●13)
| answered Dec 06 '19, 3:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Nicholas
Assuming you can make an algorithmic implementation of how Rating is calculated, one way would be to create a DNG Extension - these are described on the jazz.net wiki here https://jazz.net/wiki/bin/view/Main/RMExtensionsMain
Choose the DNG version relevant to you then look in Examples and among others there is the ASIL guidance extension which says: "When you select an artifact in the module, the extension runs the algorithm and indicates whether the selected row has the correct ASIL value" - so this example shows how to retrieve attribute values and also how to update another attribute based on those values.
Extensions run in your browser (so with the permissions of the user). For the ASIL example a user would use the extension to update the calculated attribute on all or selected artifacts.
HTH
Ian
Comments Thanks for your response.
|
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.