Absent Member.. Steve Barnash Absent Member..
Absent Member..

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. 

1 Reply
Absent Member.. Trudy Claspill Absent Member..
Absent Member..

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.

[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]

(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.)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.