Requirements summarized in a custom report

Jenni Wilms, geändert vor 2 Jahren.

Requirements summarized in a custom report

Youngling Beiträge: 6 Beitrittsdatum: 11.07.19 Neueste Beiträge
Dear Support,
is it possible to summarize all requirements, defined for a project, including the description within a custom report?
I could not find any parameters therefor in the documentation.

Thank you and best regards,
Jenni
thumbnail
Torsten Stolpmann, geändert vor 2 Jahren.

RE: Requirements summarized in a custom report

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Dear Jenni,

Yes this is possible. You should find a sample for this in the "Requirement Overview" section of the predefined "Issue Report" custom report.

​Please let me know if you find anything missing or have additional questions.

Best regards,
Torsten
Jenni Wilms, geändert vor 2 Jahren.

RE: Requirements summarized in a custom report

Youngling Beiträge: 6 Beitrittsdatum: 11.07.19 Neueste Beiträge
Dear Torsten,
many thanks. Maybe I am blind. I could find the testcases and issues linked to the requirements, but a only list with requirements defined in Klaros with description text not 

Best regards,
Jenni
thumbnail
Torsten Stolpmann, geändert vor 2 Jahren.

RE: Requirements summarized in a custom report

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Sorry my bad - I was clearly mislead by the title. This part of the report only lists the assigned test cases and their issues per requirement.

If you already have the KlarosConfiguration object of your project at hand, the easiest way t​​​​o get to the list of requirements is a call to the getRequirements() method, returning a list of all requirements in this project. Please make sure, that you only list requirements where requirement.isActive() is returning true.

I hope this gets you started. If not please feel free to follow up.

Best regards,

Torsten