I tried to export multiple issues using the template "Test Execution Advanced with Cover Page" but the error inside the PDF was found, take a look below:
We are sorry, an unexpected error has occured in the export of your issue.
Please provide the information below to our support.
General Exception: java.lang.RuntimeException: java.lang.IllegalStateException: Invalid document model. Operation can not be completed.
java.lang.RuntimeException: java.lang.IllegalStateException: Invalid document model. Operation can not be completed.
at com.aspose.words.FieldCollection$zzZ.zzZoA(Unknown Source)
at com.aspose.words.FieldCollection$zzZ.next(Unknown Source)
at java.lang.Iterable.forEach(Iterable.java:74)
at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.AsposeWordConverter.processFieldLinks(AsposeWordConverter.java:473)
at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.AsposeWordConverter.convert(AsposeWordConverter.java:372)
at com.xpandit.plugins.jiraxporter.web.services.impl.ExportServiceImpl.processBulkRequest(ExportServiceImpl.java:232)
at com.xpandit.plugins.jiraxporter.web.services.impl.ExportServiceImpl.handleBulk(ExportServiceImpl.java:208)
at com.xpandit.plugins.jiraxporter.web.services.impl.ExportServiceImpl.access$000(ExportServiceImpl.java:70)
at com.xpandit.plugins.jiraxporter.web.services.impl.ExportServiceImpl$1.run(ExportServiceImpl.java:123)
Caused by: java.lang.IllegalStateException: Invalid document model. Operation can not be completed.
at com.aspose.words.zzZX5.zzZpF(Unknown Source)
at com.aspose.words.zzZX5.zzZ(Unknown Source)
at com.aspose.words.zzZX5.zzV(Unknown Source)
at com.aspose.words.zzZX5.zzW(Unknown Source)
at com.aspose.words.FieldChar.getField(Unknown Source)
at com.aspose.words.FieldCollection$zzZ.zzZoA(Unknown Source)
... 8 more
Same issue for me for the generation of the documentation of a test plan.
5 tests cases was linked to this test plan.
In one of these 5 test cases, in its description, the number of another test case was mentionned (ABC-123). But only the text was displayed, not the Jira link. If I modify this reference ABC-123 by something else like ABC - 123, the generation of the documentation works.
No need to clone / move the workitems, the issue will still happen.
Correct, its happens because he Jira consider as link any task key e.g. ABC-123 between "( )" and as we know now the generation problem occurs always when we use any link in the description task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the problem, the problem was a link infomed on the description field from the Sub Test Execution issue. So, when you use a Jira task link (e.g.: ABC-123) this error happens. I hope to help the Attlassian developer team with that information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.