code: @RequestMapping(value = "changelog/export", method = RequestMethod.GET)
      public ResponseEntity<String> changeLog(IssueChangeLogExportRequest request) {
          // Gets the change log
          SVNChangeLog changeLog = changeLogService.changeLog(request);
          // Gets the issue service
          ConfiguredIssueService configuredIssueService = changeLog.getRepository().getConfiguredIssueService();
          if (configuredIssueService == null) {
              return new ResponseEntity<>(
                      "The branch is not configured for issues",
                      HttpStatus.NO_CONTENT
              );
          }
          // Gets the issue change log
          SVNChangeLogIssues changeLogIssues = changeLogService.getChangeLogIssues(changeLog);
          // List of issues
          List<Issue> issues = changeLogIssues.getList().stream()
                  .map(SCMChangeLogIssue::getIssue)
                  .collect(Collectors.toList());
          // Exports the change log using the given format
          ExportedIssues exportedChangeLogIssues = configuredIssueService.getIssueServiceExtension()
                  .exportIssues(
                          configuredIssueService.getIssueServiceConfiguration(),
                          issues,
                          request
                  );
          // Content type
          HttpHeaders responseHeaders = new HttpHeaders();
          responseHeaders.set("Content-Type", exportedChangeLogIssues.getFormat());
          // Body and headers
          return new ResponseEntity<>(exportedChangeLogIssues.getContent(), responseHeaders, HttpStatus.OK);
      }
docs: Change log export