public interface

BackupSystemInformation

com.atlassian.jira.imports.project.core.BackupSystemInformation
Known Indirect Subclasses

Class Overview

An object containing system-wide information from the backup file.

Summary

Public Methods
String getBuildNumber()
Returns the JIRA build number the backup came from.
String getEdition()
Returns the JIRA edition the backup came from.
int getEntityCount()
Returns the number of entities in the backup file.
String getIssueKeyForId(String issueId)
Will get the issue key provided the issue id for any issue that existed in the backup file.
List getPluginVersions()
Gets all the PluginVersion's contained in the backup.
boolean unassignedIssuesAllowed()
Returns true if unassigned issues are allowed in the backup file.

Public Methods

public String getBuildNumber ()

Returns the JIRA build number the backup came from.

Returns
  • string representing the JIRA build number. It is safe to construct a number object with this string.

public String getEdition ()

Returns the JIRA edition the backup came from.

Returns
  • string representing the JIRA edition, 'Enterprise', 'Professional', or 'Standard'

public int getEntityCount ()

Returns the number of entities in the backup file.

Returns
  • the number of entities in the backup file.

public String getIssueKeyForId (String issueId)

Will get the issue key provided the issue id for any issue that existed in the backup file.

Parameters
issueId string representation of the issue id long.
Returns
  • the issue key (i.e. TST-12) if the issue with the provided id existed in the backup file, null otherwise.

public List getPluginVersions ()

Gets all the PluginVersion's contained in the backup.

Returns

public boolean unassignedIssuesAllowed ()

Returns true if unassigned issues are allowed in the backup file.

Returns
  • true if unassigned issues are allowed in the backup file.