The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Test coverage document generator

Cirley Salazar Florez
November 25, 2024

I need to create a template that includes the amount and states associated with a user story through test coverage. I have been working on the following template:

TestRunStatus: ${set(totalPassedCount,0)} #{for j=LinksCount} #{if (%{'${Links[j].LinkType}'.equals('is tested by') && '${Links[j].IssueTypeName}'.equals('Test')})} #{if (%{'${Links[j].TestStatus}’.equals(‘PASSED’)})} ${set(totalPassedCount,%{${totalPassedCount} + 1})} #{end} #{end} #{end} ${totalPassedCount}

Passed: ${set(totalPassedCount,0)} #{for j=LinksCount} #{if (%{'${Links[j].LinkType}'.equals('Test Coverage') })} #{if (%{'${Links[j].TestStatus}’.equals(‘PASSED’)})} ${set(totalPassedCount,%{${totalPassedCount} + 1})} #{end} #{end} #{end} ${totalPassedCount}

Xray test coverage2.PNG

Xray test coverage.PNG

Downloading the test coverage is not working.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Francisco Fonseca _Xray_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 2, 2024

Hi @Cirley Salazar Florez ,

I would suggest you get in contact with our support for assistance.

Support Portal: https://jira.getxray.app/servicedesk/customer/portal/2

Nonethless, you can find usefull information that might be of assistance here: https://docs.getxray.app/display/XRAYCLOUD/TTT%3A+Document+Generator+and+Xporter

Best, Francisco

 

Cirley Salazar Florez
December 2, 2024

Thank you for your answer, I will review the documentation that you share with me.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events