Details
-
Bug
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
Xporter Cloud 2.3.5
-
None
-
Jira Cloud, Xporter, Document Generator, Windows
Description
Description:
The Xporter is not respecting the IF condition to check the issue type, while the Document Generator is respecting it.
Pre-conditions:
Link some issues to the Bugs and archive them.
How to reproduce
- Install the following template in Xporter and Document Generator as well.
&{for issues}
#{if (%{'${IssueTypeName}'.equals('Test Execution')})}
#{for links|filter=%{'${Links[n].IssueTypeName}'.equals('Defect')}}
test#{end}
#{end}
&{end}
- In the issue navigator, open issues of any type other than 'Test Execution', which is the template.
type = 'Bug' AND project = JN2
- Export the issues from the issue navigator with the Xporter template
- Export the same with the Document Generator template.
- Restore the issues that were archived and export with the Xporter template again.

Actual result/Attachments:
When we export the issues with Xporter, there is an error showing the archived linked issues.
![]()
Document Generator exports the template without any errors.
When we restore the linked issues to the Bugs that were archived, the export does not throw any error, but exports empty results as the issuetype is not match as expected.
Expected result:
The Xporter should behave like the Document Generator and respect the IF Condition to check the Issuetype.
Version
- Xporter Cloud 2.3.5
Workaround: Use Document Generator instead of Xporter.