Requirements Priority field based on Risk Analysis
In the HPQC Requirements module, there is a Priority field in the Details tab. I would like this field to be populated based on the value determined in the Risk Analysis tab, if possible.
It would be nice to have e.g. Priority A1 set directly after the risk analysis... Does anyone know how to do this?
Am I thinking completely wrong regarding the priority field? I don't understand what to use it for if it's not based on the risk analysis. [img]/images/graemlins/confused.gif[/img]
Re: Requirements Priority field based on Risk Analysis
It's largely unnecessary to do what you're asking for since you can see it easily enough in the tree and grid views anyway.
However, the following code would do it:
<font class="small">Code:</font><hr /><pre>
On Error Resume Next
If Req_Fields.Field("RQ_RBT_EFFECTIVE_RISK").IsModifi ed Or Req_Fields.Field("RQ_RBT_EFFECTIVE_FUNC_CMPLX").Is Modified Then
Req_Fields.Field("RQ_REQ_PRIORITY").Value = Req_Fields.Field("RQ_RBT_EFFECTIVE_RISK").Value & Req_Fields.Field("RQ_RBT_EFFECTIVE_FUNC_CMPLX").Va lue