Customizing Likelihood and Severity as Choice Lists
Creating Custom Choice Fields for Likelihood and Severity Fields
Create a Custom Likelihood Choice Field
1. Open the configuration of a risk tracker, and click the Fields tab.
2. Scroll to the end of the page, and click > .
3. Provide a name for the field, such as LikelihoodChoice, and then click OK.
Create a Custom Severity Choice Field
1. Click > .
2. Enter a name for the field, such as SeverityChoice, and then click OK.
3. Click Save in the upper area of the Fields tab. The new custom choice fields are created.
4. Click Options in the Layout and Content column of the LikelihoodChoice field.
5. In the Options window, add the options. Consider the following conditions:
◦ The ID of each option must be the selectable severity value.
◦ The name of each option must align with its value. For example: Id: 1—value 1, Id: 2—value 2, and so on.
6. Repeat the two preceding steps for the SeverityChoice field.
7. Click Save. The custom options are saved.
Set the Computed As Expression for the Risk Field
1. Select the Show property name checkbox.
2. Identify the property names of the LikelihoodChoice and the SeverityChoice fields. For example: LikelihoodChoice: choiceList[2] and SeverityChoice: choiceList[3].
3. Click Risk in the Label column.
4. Click the text box next to Computed as.
5. Modify the expression as needed, using the property names of the fields. For example:
(empty choiceList[2] ? 0 : choiceList[2][0].id) * (empty choiceList[3] ? 0 : choiceList[3][0].id)
6. Click OK.
7. Click Save in the upper area of the Fields tab.
Create Custom Choice Fields for Fields After Mitigation
To create custom fields for the likelihood after mitigation and the severity after mitigation, refer to the preceding process. These new custom fields can have the following properties:
• Label: LikelihoodAMChoice and Property: choiceList[4]
• Label: SeverityAMChoice and Property: choiceList[5]
LikelihoodAMChoice and SeverityAMChoice can be computed in a field such as Risk after reduction using the following expression:
(empty choiceList[4] ? 0 : choiceList[4][0].id) * (empty choiceList[5] ? 0 : choiceList[5][0].id)
|
|
To import the project, ensure to set the following in the application configuration of your Codebeamer instance:
"projectImport": { "enableImportingFromNotSupportedCodebeamerVersions": true },
|