I'm able to export my requirements with the folder hierarchy as it exists in HPQC, but I want to populate one of the columns in the excel extract with the applicable parent folder so I can do reporting and run pivot tables.
My current code here:
SELECT
REQ.RQ_REQ_NAME /*Requirement.Name*/ ,
REQ.RQ_REQ_COMMENT /*Requirement.Description*/ ,
REQ.RQ_REQ_STATUS /*Requirement.Direct Cover Status*/
FROM
REQ /*Requirement*/
What I'm getting in Excel:
RQ_REQ_NAME RQ_REQ_COMMENT RQ_REQ_STATUS
Requirements N/A
Parent Folder 1 N/A
Req 1 Desciption 1 Not Covered
Req 2 Desciption 2 Not Covered
Req 3 Desciption 3 Not Covered
Parent Folder 2
Req 4 Desciption 4 Not Covered
Req 5 Desciption 5 Not Covered
What I want to see in Excel:
PARENT FOLDER RQ_REQ_NAME RQ_REQ_COMMENT RQ_REQ_STATUS
Requirements N/A
Parent Folder 1 Req 1 Description 1 Not Covered
Parent Folder 1 Req 2 Description 2 Not Covered
Parent Folder 1 Req 3 Description 3 Not Covered
Parent Folder 2 Req 4 Description 4 Not Covered
Parent Folder 2 Req 5 Description 5 Not Covered
Thanks