public interface

ExportService

com.atlassian.jira.bc.dataimport.ExportService
Known Indirect Subclasses

Class Overview

A service for the creation of JIRA XML backups.

Summary

Nested Classes
enum ExportService.Style  
Public Methods
ServiceOutcome<Void> export(User loggedInUser, String filename, ExportService.Style style, TaskProgressSink taskProgressSink)
Export JIRA to the given filename with the specified backup style.
ServiceOutcome<Void> export(User loggedInUser, String filename, TaskProgressSink taskProgressSink)
Export JIRA to the given filename.
ServiceOutcome<Void> exportForDevelopment(User loggedInUser, String xmlFilename, TaskProgressSink taskProgressSink)
Export JIRA to the given filename.

Public Methods

public ServiceOutcome<Void> export (User loggedInUser, String filename, ExportService.Style style, TaskProgressSink taskProgressSink)

Export JIRA to the given filename with the specified backup style. It will be a zip file, no matter what suffix you give it. Inside the zip file will be the JIRA XML and the ActiveObjects XML.

Parameters
filename destination zipfile for the backup
style what time of backup we should perform.

public ServiceOutcome<Void> export (User loggedInUser, String filename, TaskProgressSink taskProgressSink)

Export JIRA to the given filename. It will be a zip file, no matter what suffix you give it. Inside the zip file will be the JIRA XML and the ActiveObjects XML. This will use the NORMAL style.

Parameters
filename destination zipfile for the backup
See Also
  • {#ExportService.Style.NORMAL}

public ServiceOutcome<Void> exportForDevelopment (User loggedInUser, String xmlFilename, TaskProgressSink taskProgressSink)

Export JIRA to the given filename. Only a JIRA XML file will be created, This will use the NORMAL style.

Parameters
xmlFilename destination xmlfile for the backup
See Also
  • {#ExportService.Style.NORMAL}