Using javascript to return a calculated value from DOORS.
Hi,
I am building a csv file searching for pairs (regex, DOORS module), without repetition, in a whole project (every module, every object).
In the last paragraph of my template, I have defined an assigment to a variable as:
const regex = "/{{\w+;\w+}}/g";
var finalCSVfile = "";
while (myArray = Object_Text.toString().match(regex) != null) {
temp = myArray[0] + ',' + Name;
if (finalCSVfile.indexOf(temp) == -1) {
finalCSVfile += temp + '\n';
}
}
However, do not know how to assign it to the RPE variable. 'return finalCSVfile;' fails.
Thanks for any help.
|
Be the first one to answer this question!
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.
Comments
Almost solved.