Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Xray DC 8.2.2
-
None
-
None
-
Jria Server 10.3.13, Windows OS, MS Word for template
Description
Description:
With Document Generator, the Test Run Attachment, the following mapping is not exported.
@{title=${TestRuns[n].Attachments[a].Name}| href=${BaseURL}/secure/attachment/${ TestRuns[n].Attachments[a].ID}/${ TestRuns[n].Attachments[a].Name}}
@{title=${TestRuns[n].TestSteps[r].Attachments[sa].Name}| href=${BaseURL}/plugins/servlet/raven/attachment/${TestRuns[n].TestSteps[r].Attachments[sa].ID}/${TestRuns[n].TestSteps[r].Attachments[sa].Name}}
The export is showing the mappings instead of the hyperlink, but for the Evidence, the mappings are exported as expected.
Pre-conditions:
A Test having a Test Step Attachment, Jira Attachment. The same Test has a Test Run with Global and Step Evidence.
How to reproduce
- Use the Document Generator Test Executions Advanced Template to export the Test Execution. XrayTestExecAdvancedWithCoverPage - DC - Apr2024 (2) (1).docx

Actual result/Attachments:
The Test Attachment and Test Step Attachment related mappings are exported as mappings themselves while iterating the Test Runs. But the Evidence is exported as expected.
Expected result:
The Test and Step attachments mappings are to be exported as hyperlinks, like in the case of Evidence
Version
- Xray DC 8.2.2