Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleLearn more
General information about all the existing places available to export from and how to perform it is available on the Exporting page.

Source data

This report is applicable to:

...

  1. from the Issue Navigator/Search, search by the issueType (i.e., "Test Execution") from your project (e.g., "BOOK") and then use bulk export or Export->XporterExport→Document Generator

Code Block
titleexample of JQL expression to use
project = "BOOK" and issuetype="Test Execution" order BY created DESC

...

  1. from the Issue Navigator/Search, search by the release (i.e., "fixVersion") of your project (e.g., "EWB") and then use bulk export or Export->Xporter>Document Generator

Code Block
titleexample of JQL expression to use
project = "BOOK" and issuetype= "Test Execution" and fixVersion=1.2 order BY created DESC

...

  1. from the Issue Navigator/Search, search by Test Executions assigned to that Test Environment  (e.g., "chrome") and then use bulk export or Export->Xporter>Document Generator


Code Block
titleexample of JQL expression to use
project = "BOOK" and issuetype= "Test Execution" and testEnvironments = chrome order BY created DESC

...

with the syntax like (the example is for line 6): 

@{title=${TestRuns[n].ExecutionDefects[d].Key}|href=${BaseURL}/browse/${TestRuns[n].ExecutionDefects[d].Key}} | ${TestRuns[n].ExecutionDefects[d].Summary} | ${TestRuns[n].ExecutionDefects[d].Priority}


Keep in mind that only 1 hyperlink will be active per Excel cell (the one associated with the first line item). Also, ${Test Plan} value is treated as a single list, so if you have multiple test plans linked to the same execution and you want to separate the urls, you will need to further customize the code from the example above. On a related note, as you probably noticed, Test Plan and Test Environment are displayed slightly differently from Defects by default - comma separation, square brackets (the DocGen version has the brackets for empty Test Plan cells, doesn't have them for non-empty Test Environments).

You can further finetune the content and formatting via JavaScript,you can find more useful snippets in this tutorial for Xporter and DocGenDocument Generator.

Performance

Performance can be impacted by the information that is rendered and by how that information is collected/processed.

...

Info
titleSome tips
  • limit the number of input issues; in Xporter Document Generator, there's a global setting for this purpose

...