Converting a Bug into a Req via workflow
I'd like to add some workflow that allows me to take some of the fields in a Defect and create a Requirement. Does anyone have some sample code. I assume I need to use ReqFactory and/or BugFactory. I believe I already know how to add a Button to the Defect details form which I'd use to drive the code.
Re: Converting a Bug into a Req via workflow
Have you looked at the OTA API reference? There are lots of code samples in there, including one for Creating a Requirement. The examples are in VB 6.0, and workflows are coded in VBscript, but that's pretty similar. The conversion shouldn't be too difficult.
(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)