It's all about the answers!

Ask a question

DNG - Automatically generate module specific requirement IDs (not DOORs IDs)

Max Curzi (134) | asked Jun 09 '17, 9:14 a.m.
edited Jun 09 '17, 9:31 a.m.

 We have several modules (let's call them MyModule1 and MyModule2), and for each of them We would like to associate each artifact with an ID like:


That should be in the Req-ID column of the artifacts in MyModule1 .



for the artifacts in MyModule2.

Is there a way to generate these numbering automatically?
A good workflow for me is to select multiple artifacts, then click on the pencil icon and "Edit attributes for # artifacts". I would click on the checkbox near the desired attribute, and change value to something like "FOO-$$$"
and trust that $$$ would be replaced by in each artifact by a unique number for the selected artifacts.
I could not find anything like this, unfortunately.

Thank you!

Accepted answer

permanent link
Gabriel Ruelas (1.1k13) | answered Jun 09 '17, 11:27 a.m.

 Hi, That can be done with an extension script. Check for samples and how to enable them.

Max Curzi selected this answer as the correct answer

One other answer

permanent link
Max Curzi (134) | answered Jun 09 '17, 11:29 a.m.

 Thank you Gabriel,

I was already reviewing that material when you sent this answer, so I guess I am on the right track, thank you!


Your answer

Register or 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.