Class AdministrationImpl
java.lang.Object
com.atlassian.jira.functest.framework.AdministrationImpl
- All Implemented Interfaces:
Administration
Implementation of
Administration
- Since:
- v3.13
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.Administration
Administration.Link, Administration.OutgoingMailSettings, Administration.Utilities
-
Field Summary
FieldsFields inherited from interface com.atlassian.jira.functest.framework.Administration
ENTERPRISE, PROFESSIONAL, STANDARD
-
Constructor Summary
ConstructorsConstructorDescriptionAdministrationImpl
(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, Navigation navigation, Assertions assertions) Note: if you need to construct this for an old-stylecom.atlassian.jira.webtests.JIRAWebTest
, you may want to consider usingcom.atlassian.jira.functest.framework.FuncTestHelperFactory
instead. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addGlobalPermission
(int permission, String group) Add a group to a Global permission Ends up on the Global Permissions page.void
addGlobalPermission
(GlobalPermissionKey permission, String group) Add a group to a Global permission Ends up on the Global Permissions page.void
addSubTaskType
(String name) Gets an instance of the AdvancedApplicationProperties Page Object.backdoor()
Allows you to perform backdoor actionsvoid
Copies a file to the JIRA import directory, presumably with the intention of testing imports directly.Allows you to perform custom field actions.void
enable http access loggingexportDataToFile
(String fileName) Exports the current running data to the specified absolute pathAllows you to modify field configurations.Allows you to modify field configuration schemes.Allows you to perform generalConfiguration actions.long
Returns ths current build number.Obtains the current attachment path configured for JIRA.Returns the current edition name.Returns the JIRA home directory as reported in the System Info sectionGet the system tenant home directory.TGo to issue linking administration section.Allows you to modify issue security schemes.link()
Retrieves the administration home link in the JIRA Header.Gets an instance of the Mail Server Administration page.'Notification Schemes' administration sectionDeprecated.all new tests with the Single Page Permission Schemes page should be written in a web driver test using EditPermissionsSinglePage.plugins()
Utility function to allow you some basic plugins controlproject()
Allows you to perform project actions.Allows you to perform project imports.void
reIndex()
Reindex JIRA, waiting for JIRA to complete the task, in the default index directory.void
removeGlobalPermission
(int permission, String group) Remove a group from a given Global Permission.void
removeGlobalPermission
(GlobalPermissionKey permissionKey, String group) Remove a group from a given Global Permission.replaceTokensInFile
(String originalXmlFileName, Map<String, String> replacements) Reads in an XML file and performs token replacements on it, writes the data to a temp file which is the return valuevoid
Restores a JIRA to blank instance with Data Center License.void
Restores the jira instance to one with no issues.void
restoreBlankInstanceWithLicense
(License license) Restores a JIRA to a well known blank instance with the supplied licence.void
Restores a JIRA to blank instance with Server License.void
restoreData
(String fileName) Same asAdministration.restoreData(String, boolean)
, but with useDefaultPaths set to false.void
restoreData
(String fileName, boolean useDefaultPaths) Restores the specified fileName as JIRA data.void
restoreData
(String fileName, Administration.OutgoingMailSettings outgoingMailSetting) void
restoreData
(String path, String fileName) void
restoreData
(String path, String fileName, boolean useDefaultPath) void
restoreDataAndLogin
(String fileName, String username) same asAdministration.restoreDataAndLogin(String, String, boolean)
but with userDefaultPaths parameter set to false.void
restoreDataAndLogin
(String fileName, String username, boolean useDefaultPaths) Restore the specified file and login to JIRA using the passed username.void
restoreDataSlowOldWay
(String fileName) Same asAdministration.restoreDataSlowOldWay(String, boolean)
, except with useDefaultPaths set to false.void
restoreDataSlowOldWay
(String fileName, boolean useDefaultPaths) Restores the specified fileName as JIRA data NOT using the clear cache mechanism.void
restoreDataSlowOldWay
(String path, String fileName) Same asAdministration.restoreDataSlowOldWay(String, String, boolean)
, but with useDefaultPath set to false;void
restoreDataSlowOldWay
(String path, String fileName, boolean useDefaultPath) Restores the XML file from the specified directory NOT using the clear cache mechanism.void
restoreDataSlowOldWayAndLogin
(String fileName, String username) Same asAdministration.restoreDataSlowOldWayAndLogin(String, String, boolean)
but with useDefaultPath set to false.void
restoreDataSlowOldWayAndLogin
(String fileName, String username, boolean useDefaultPath) Restore the specified file data NOT using the clear cache mechanism and login to JIRA using the passed username.void
restoreDataWithBuildNumber
(String fileName, int expectedBuilderNumber) Basically check the passed backup to ensure that it matches the passed build number and then restore the data.void
restoreDataWithLicense
(String fileName, String licenseKey) same asAdministration.restoreDataWithLicense(String, String, boolean)
, except with useDefaultPaths set to false.void
restoreDataWithLicense
(String fileName, String licenseKey, boolean useDefaultPaths) Restores the specified fileName as JIRA data, using the specified License key on import.void
restoreDataWithPluginsReload
(String fileName) Same asAdministration.restoreDataWithPluginsReload(String, boolean)
, except with useDefaultPaths set to false.void
restoreDataWithPluginsReload
(String fileName, boolean useDefaultPaths) Restores the specified fileName as JIRA data NOT using the clear cache mechanism.void
restoreDataWithReplacedTokens
(String originalXmlFileName, Map<String, String> replacements) Same asAdministration.restoreDataWithReplacedTokens(String, java.util.Map, boolean)
, except with useDefaultPaths set to false.void
restoreDataWithReplacedTokens
(String originalXmlFileName, Map<String, String> replacements, boolean useDefaultPaths) Reads in an XML file and performs token replacements on it, writes the data to a temp file, then imports that into JIRA.void
restoreI18nData
(String fileName) Restores the specified fileName as JIRA data.void
Restores a backup file with JIRA in an not setup state.void
restoreNotSetupInstance
(String licenseKey) Restores a backup file with JIRA in an not setup state.void
restoreNotSetupRenaissanceInstance
(String licenseKey) Deprecated.since 7.0.1, use restoreNotSetupInstanceroles()
Allows you to perform role actionsGets an instance of the Send Bulk Mail Page.services()
Returns the ViewServices object which allows you to run operations on the ViewServices page.void
setProfiling
(boolean on) Set JIRA's profiling on or off.Gets an instance of the Shared Filters Administration page.statuses()
Gets the instance of the Statuses pagesubtasks()
void
switchToLicense
(License license) Changes JIRA's lincense to a given license objectvoid
switchToLicense
(String license, String description) Changes JIRA's lincense to a given license and asserts that the description then appears on the view licensevoid
Switches the license to a personal license.void
Switches the license to a starter license.tabs()
Gets an instance of the AdminTabs Page Object.Get time tracking administration section util.Allows you to perform user and group actions.Field screens config.void
Waits for the data import progress to complete.Manage the 'Workflows' administration page
-
Field Details
-
LEGACY_PROJECT_PERMISSIONS_PAGE_DARK_FEATURE
- See Also:
-
-
Constructor Details
-
Method Details
-
reIndex
public void reIndex()Description copied from interface:Administration
Reindex JIRA, waiting for JIRA to complete the task, in the default index directory.- Specified by:
reIndex
in interfaceAdministration
-
setProfiling
public void setProfiling(boolean on) Description copied from interface:Administration
Set JIRA's profiling on or off.- Specified by:
setProfiling
in interfaceAdministration
- Parameters:
on
- or off
-
restoreBlankInstance
public void restoreBlankInstance()Restores the jira instance to one with no issues. Some projects have been created- Specified by:
restoreBlankInstance
in interfaceAdministration
-
restoreBlankServerInstance
public void restoreBlankServerInstance()Description copied from interface:Administration
Restores a JIRA to blank instance with Server License. Use this when your test relies on Server license.- Specified by:
restoreBlankServerInstance
in interfaceAdministration
-
restoreBlankDataCenterInstance
public void restoreBlankDataCenterInstance()Description copied from interface:Administration
Restores a JIRA to blank instance with Data Center License. Use this when your test relies on DC license.- Specified by:
restoreBlankDataCenterInstance
in interfaceAdministration
-
restoreBlankInstanceWithLicense
Description copied from interface:Administration
Restores a JIRA to a well known blank instance with the supplied licence.- Specified by:
restoreBlankInstanceWithLicense
in interfaceAdministration
- Parameters:
license
- the license to be installed
-
restoreNotSetupInstance
public void restoreNotSetupInstance()Description copied from interface:Administration
Restores a backup file with JIRA in an not setup state. If you use this method, you will have to then set up JIRA from scratch!- Specified by:
restoreNotSetupInstance
in interfaceAdministration
-
restoreNotSetupInstance
Description copied from interface:Administration
Restores a backup file with JIRA in an not setup state. If you use this method, you will have to then set up JIRA from scratch!- Specified by:
restoreNotSetupInstance
in interfaceAdministration
- Parameters:
licenseKey
- the license key to be used for restore
-
restoreNotSetupRenaissanceInstance
Deprecated.since 7.0.1, use restoreNotSetupInstanceThis can be removed after JIRA renaissance has been released (7.0) as roles would be enabled by default. Tracked in HIROL-1075- Specified by:
restoreNotSetupRenaissanceInstance
in interfaceAdministration
- Parameters:
licenseKey
- the license key to be used for restore
-
copyFileToJiraImportDirectory
Description copied from interface:Administration
Copies a file to the JIRA import directory, presumably with the intention of testing imports directly.- Specified by:
copyFileToJiraImportDirectory
in interfaceAdministration
- Parameters:
file
- the file to copy to JIRA_HOME/import
-
replaceTokensInFile
public File replaceTokensInFile(String originalXmlFileName, Map<String, String> replacements) throws IOExceptionDescription copied from interface:Administration
Reads in an XML file and performs token replacements on it, writes the data to a temp file which is the return value- Specified by:
replaceTokensInFile
in interfaceAdministration
- Parameters:
originalXmlFileName
- the name of the XML file to read in; must be located in the standard XML file directoryreplacements
- a map of token replacements- Returns:
- a new temporary file that has its tokens replaced
- Throws:
IOException
- if there is a problem reading/writing the files
-
restoreDataWithReplacedTokens
public void restoreDataWithReplacedTokens(String originalXmlFileName, Map<String, String> replacements) throws IOExceptionDescription copied from interface:Administration
Same asAdministration.restoreDataWithReplacedTokens(String, java.util.Map, boolean)
, except with useDefaultPaths set to false.- Specified by:
restoreDataWithReplacedTokens
in interfaceAdministration
- Throws:
IOException
-
restoreDataWithReplacedTokens
public void restoreDataWithReplacedTokens(String originalXmlFileName, Map<String, String> replacements, boolean useDefaultPaths) throws IOExceptionDescription copied from interface:Administration
Reads in an XML file and performs token replacements on it, writes the data to a temp file, then imports that into JIRA. Note: this only works when the FuncTest client is running on the same host as the JIRA server. For methods to create date strings to use as your tokens, check out theDateUtil
class- Specified by:
restoreDataWithReplacedTokens
in interfaceAdministration
- Parameters:
originalXmlFileName
- the name of the XML file to read in; must be located in the standard XML file directoryreplacements
- a map of token replacementsuseDefaultPaths
- if set to true, the paths (e.g., attachment, index) in the xml backup will be ignored, and the default used instead. If the token being replaced is part of the default paths, it is still replaced prior to restore.- Throws:
IOException
- if there is a problem reading/writing the files
-
restoreData
Description copied from interface:Administration
Same asAdministration.restoreData(String, boolean)
, but with useDefaultPaths set to false.- Specified by:
restoreData
in interfaceAdministration
-
restoreData
Description copied from interface:Administration
Restores the specified fileName as JIRA data.- Specified by:
restoreData
in interfaceAdministration
- Parameters:
fileName
- the XML file inside the standard backup file directory containing the JIRA datauseDefaultPaths
- if set to true, the xml backup's paths (e.g., index, attachment etc) will be ignored, and the default for those used in stead
-
restoreData
- Specified by:
restoreData
in interfaceAdministration
-
link
Description copied from interface:Administration
Retrieves the administration home link in the JIRA Header.- Specified by:
link
in interfaceAdministration
- Returns:
- the administration home link in the JIRA Header.
-
restoreDataAndLogin
Description copied from interface:Administration
same asAdministration.restoreDataAndLogin(String, String, boolean)
but with userDefaultPaths parameter set to false.- Specified by:
restoreDataAndLogin
in interfaceAdministration
-
restoreDataAndLogin
Description copied from interface:Administration
Restore the specified file and login to JIRA using the passed username.- Specified by:
restoreDataAndLogin
in interfaceAdministration
- Parameters:
fileName
- the name of the xml file to restore.username
- the username used to login to JIRA after the restore. The username and the password are assumed to be the same.useDefaultPaths
- if set to true, the xml backup's paths (e.g., index, attachment etc) will be ignored, and the default for those used in stead
-
restoreDataSlowOldWayAndLogin
Description copied from interface:Administration
Same asAdministration.restoreDataSlowOldWayAndLogin(String, String, boolean)
but with useDefaultPath set to false.- Specified by:
restoreDataSlowOldWayAndLogin
in interfaceAdministration
-
restoreDataSlowOldWayAndLogin
Description copied from interface:Administration
Restore the specified file data NOT using the clear cache mechanism and login to JIRA using the passed username. This is much slower than using the default methods and should only be used if there is a real reason for it. If you find yourself using this method perhaps we should be fixing the cache clearing stuff instead.- Specified by:
restoreDataSlowOldWayAndLogin
in interfaceAdministration
- Parameters:
fileName
- the name of the xml file to restore.username
- the username used to login to JIRA after the restore. The username and the password are assumed to be the same.useDefaultPath
- if set to true, the paths in the xml backup (e.g., index, and attachment) will be ignored, and their default paths used instead.
-
restoreDataSlowOldWay
Description copied from interface:Administration
Same asAdministration.restoreDataSlowOldWay(String, boolean)
, except with useDefaultPaths set to false.- Specified by:
restoreDataSlowOldWay
in interfaceAdministration
-
restoreDataSlowOldWay
Description copied from interface:Administration
Restores the specified fileName as JIRA data NOT using the clear cache mechanism. This is much slower than using the default methods and should only be used if there is a real reason for it. If you find yourself using this method perhaps we should be fixing the cache clearing stuff instead.- Specified by:
restoreDataSlowOldWay
in interfaceAdministration
- Parameters:
fileName
- the XML file inside the standard backup file directory containing the JIRA datauseDefaultPaths
- if set to true, the paths in the xml backup (e.g., index, and attachment) will be ignored, and their default paths used instead.
-
restoreDataWithPluginsReload
Description copied from interface:Administration
Same asAdministration.restoreDataWithPluginsReload(String, boolean)
, except with useDefaultPaths set to false.- Specified by:
restoreDataWithPluginsReload
in interfaceAdministration
-
restoreDataWithPluginsReload
Description copied from interface:Administration
Restores the specified fileName as JIRA data NOT using the clear cache mechanism. The plugins system is restarted.
This restore uses the full Pico refresh the same as in Production. ie it does not do a "Quick Import".
This is much slower than using the default methods and should only be used if there is a real reason for it.
- Specified by:
restoreDataWithPluginsReload
in interfaceAdministration
- Parameters:
fileName
- the XML file inside the standard backup file directory containing the JIRA datauseDefaultPaths
- if set to true, the paths in the xml backup (e.g., index, and attachment) will be ignored, and their default paths used instead.
-
restoreData
-
restoreData
-
restoreDataSlowOldWay
Description copied from interface:Administration
Same asAdministration.restoreDataSlowOldWay(String, String, boolean)
, but with useDefaultPath set to false;- Specified by:
restoreDataSlowOldWay
in interfaceAdministration
-
restoreDataSlowOldWay
Description copied from interface:Administration
Restores the XML file from the specified directory NOT using the clear cache mechanism. This is much slower than using the default methods and should only be used if there is a real reason for it. If you find yourself using this method perhaps we should be fixing the cache clearing stuff instead.- Specified by:
restoreDataSlowOldWay
in interfaceAdministration
- Parameters:
path
- the directory in which the XML file is locatedfileName
- the name of the XML fileuseDefaultPath
- if set to true, the paths (e.g., attachment, index) in the xml backup will be ignored, and the default used instead
-
restoreDataWithLicense
Description copied from interface:Administration
Restores the specified fileName as JIRA data, using the specified License key on import.- Specified by:
restoreDataWithLicense
in interfaceAdministration
- Parameters:
fileName
- the file conatining the JIRA datalicenseKey
- the license key to be installeduseDefaultPaths
- if set to true, the paths (e.g., attachment, index) in the xml backup will be ignored, and the default used instead
-
restoreDataWithLicense
Description copied from interface:Administration
same asAdministration.restoreDataWithLicense(String, String, boolean)
, except with useDefaultPaths set to false.- Specified by:
restoreDataWithLicense
in interfaceAdministration
-
restoreI18nData
Description copied from interface:Administration
Restores the specified fileName as JIRA data. Does not make english assertions.- Specified by:
restoreI18nData
in interfaceAdministration
- Parameters:
fileName
- the fiel conatining the JIRA data
-
restoreDataWithBuildNumber
Description copied from interface:Administration
Basically check the passed backup to ensure that it matches the passed build number and then restore the data. An exception will be thrown if the backup does not match the passed build number.- Specified by:
restoreDataWithBuildNumber
in interfaceAdministration
- Parameters:
fileName
- the path of the backup.expectedBuilderNumber
- the build number the data should have.
-
exportDataToFile
Description copied from interface:Administration
Exports the current running data to the specified absolute path- Specified by:
exportDataToFile
in interfaceAdministration
- Parameters:
fileName
- to backup to. This should just be a filename because JIRA always appends ${JIRA.HOME}/export to it before doing the export. Passing a directory may make it fail on windows.- Returns:
- export file. it will be absolute.
-
getCurrentAttachmentPath
Description copied from interface:Administration
Obtains the current attachment path configured for JIRA. This method does not check whether Attachments are enabled or not. If JIRA is configured to use the "default" attachment path, then this method still returns the ACTUAL path that is used. The implementation navigates to the Admin Attachments Settings page and screenscrapes, so don't expect to remain on the same page as when you called the method.- Specified by:
getCurrentAttachmentPath
in interfaceAdministration
- Returns:
- the current attachment path configured for JIRA.
-
activateSubTasks
public void activateSubTasks()- Specified by:
activateSubTasks
in interfaceAdministration
-
addSubTaskType
- Specified by:
addSubTaskType
in interfaceAdministration
-
generalConfiguration
Description copied from interface:Administration
Allows you to perform generalConfiguration actions.- Specified by:
generalConfiguration
in interfaceAdministration
- Returns:
- generalConfiguration
-
backdoor
Description copied from interface:Administration
Allows you to perform backdoor actions- Specified by:
backdoor
in interfaceAdministration
- Returns:
- backdoor
-
project
Description copied from interface:Administration
Allows you to perform project actions.- Specified by:
project
in interfaceAdministration
- Returns:
- project
-
usersAndGroups
Description copied from interface:Administration
Allows you to perform user and group actions.- Specified by:
usersAndGroups
in interfaceAdministration
- Returns:
- usersAndGroups
-
roles
Description copied from interface:Administration
Allows you to perform role actions- Specified by:
roles
in interfaceAdministration
- Returns:
- roles
-
customFields
Description copied from interface:Administration
Allows you to perform custom field actions.- Specified by:
customFields
in interfaceAdministration
- Returns:
- customFields
-
permissionSchemes
Deprecated.all new tests with the Single Page Permission Schemes page should be written in a web driver test using EditPermissionsSinglePage. For backdoor based PermissionSchemes control useBackdoor.permissionSchemes()
Description copied from interface:Administration
Allows you to modify permission schemes.- Specified by:
permissionSchemes
in interfaceAdministration
- Returns:
- permissionSchemes
-
issueSecuritySchemes
Description copied from interface:Administration
Allows you to modify issue security schemes.- Specified by:
issueSecuritySchemes
in interfaceAdministration
- Returns:
- issue security schemes of this administration
-
fieldConfigurations
Description copied from interface:Administration
Allows you to modify field configurations.- Specified by:
fieldConfigurations
in interfaceAdministration
- Returns:
- fieldConfigurations
-
fieldConfigurationSchemes
Description copied from interface:Administration
Allows you to modify field configuration schemes.- Specified by:
fieldConfigurationSchemes
in interfaceAdministration
- Returns:
- fieldConfigurationSchemes
-
projectImport
Description copied from interface:Administration
Allows you to perform project imports.- Specified by:
projectImport
in interfaceAdministration
- Returns:
- projectImport
-
plugins
Description copied from interface:Administration
Utility function to allow you some basic plugins control- Specified by:
plugins
in interfaceAdministration
- Returns:
- plugins
-
removeGlobalPermission
Description copied from interface:Administration
Remove a group from a given Global Permission. Ends up on the Global Permissions page.- Specified by:
removeGlobalPermission
in interfaceAdministration
- Parameters:
permissionKey
- The permission to remove the group fromgroup
- the group to remove
-
removeGlobalPermission
Description copied from interface:Administration
Remove a group from a given Global Permission. Ends up on the Global Permissions page.- Specified by:
removeGlobalPermission
in interfaceAdministration
- Parameters:
permission
- The permission to remove teh group fromgroup
- the group to remove
-
addGlobalPermission
Description copied from interface:Administration
Add a group to a Global permission Ends up on the Global Permissions page.- Specified by:
addGlobalPermission
in interfaceAdministration
- Parameters:
permission
- the permission to add the group togroup
- The group to add
-
addGlobalPermission
Description copied from interface:Administration
Add a group to a Global permission Ends up on the Global Permissions page.- Specified by:
addGlobalPermission
in interfaceAdministration
- Parameters:
permission
- the permission to add the group togroup
- The group to add
-
switchToLicense
Description copied from interface:Administration
Changes JIRA's lincense to a given license object- Specified by:
switchToLicense
in interfaceAdministration
- Parameters:
license
- license to switch to
-
switchToLicense
Description copied from interface:Administration
Changes JIRA's lincense to a given license and asserts that the description then appears on the view license- Specified by:
switchToLicense
in interfaceAdministration
- Parameters:
license
- license to switch todescription
- license description
-
switchToPersonalLicense
public void switchToPersonalLicense()Description copied from interface:Administration
Switches the license to a personal license.- Specified by:
switchToPersonalLicense
in interfaceAdministration
-
switchToStarterLicense
public void switchToStarterLicense()Description copied from interface:Administration
Switches the license to a starter license.- Specified by:
switchToStarterLicense
in interfaceAdministration
-
getJiraHomeDirectory
Description copied from interface:Administration
Returns the JIRA home directory as reported in the System Info section- Specified by:
getJiraHomeDirectory
in interfaceAdministration
- Returns:
- the JIRA home directory as reported in the System Info section
-
getSystemTenantHomeDirectory
Description copied from interface:Administration
Get the system tenant home directory. This does the same thing as getJiraHomeDirectory, except it doesn't cache it in a thread local. It assumes that the environment data for this administration object is for the system tenant. It should only be called when a tenant is provisioned, which should only be done on the first test to that tenant.- Specified by:
getSystemTenantHomeDirectory
in interfaceAdministration
- Returns:
- The system tenant home directory.
-
mailServers
Description copied from interface:Administration
Gets an instance of the Mail Server Administration page.- Specified by:
mailServers
in interfaceAdministration
- Returns:
- an instance of the Mail Server Administration page.
-
sendBulkMail
Description copied from interface:Administration
Gets an instance of the Send Bulk Mail Page.- Specified by:
sendBulkMail
in interfaceAdministration
- Returns:
- an instance of the Send Bulk Mail Page.
-
tabs
Description copied from interface:Administration
Gets an instance of the AdminTabs Page Object.- Specified by:
tabs
in interfaceAdministration
- Returns:
- an instance of the AdminTabs Page Object.
-
advancedApplicationProperties
Description copied from interface:Administration
Gets an instance of the AdvancedApplicationProperties Page Object.- Specified by:
advancedApplicationProperties
in interfaceAdministration
- Returns:
- an instance of the AdvancedApplicationProperties Page Object.
-
statuses
Description copied from interface:Administration
Gets the instance of the Statuses page- Specified by:
statuses
in interfaceAdministration
-
subtasks
- Specified by:
subtasks
in interfaceAdministration
- Returns:
- grouping to manage administration of subtasks
-
issueLinking
Description copied from interface:Administration
TGo to issue linking administration section.- Specified by:
issueLinking
in interfaceAdministration
- Returns:
- grouping to manage issue linking
-
timeTracking
Description copied from interface:Administration
Get time tracking administration section util.- Specified by:
timeTracking
in interfaceAdministration
- Returns:
- time tracking configuration
-
resolutions
- Specified by:
resolutions
in interfaceAdministration
- Returns:
- resolution configuration
-
services
Description copied from interface:Administration
Returns the ViewServices object which allows you to run operations on the ViewServices page.- Specified by:
services
in interfaceAdministration
- Returns:
- the ViewServices object which allows you to run operations on the ViewServices page.
-
getEdition
Description copied from interface:Administration
Returns the current edition name. This may be useful for licensing checks- Specified by:
getEdition
in interfaceAdministration
- Returns:
- the current edition name
- See Also:
-
getBuildNumber
public long getBuildNumber()Description copied from interface:Administration
Returns ths current build number. ARuntimeException
will be thrown if we can't find the build number.- Specified by:
getBuildNumber
in interfaceAdministration
- Returns:
- JIRA's build number.
-
enableAccessLogging
public void enableAccessLogging()Description copied from interface:Administration
enable http access logging- Specified by:
enableAccessLogging
in interfaceAdministration
-
attachments
- Specified by:
attachments
in interfaceAdministration
- Returns:
- attachments
-
viewFieldScreens
Description copied from interface:Administration
Field screens config.- Specified by:
viewFieldScreens
in interfaceAdministration
- Returns:
- field screens config
-
utilities
- Specified by:
utilities
in interfaceAdministration
- Returns:
- utilities
-
workflows
Description copied from interface:Administration
Manage the 'Workflows' administration page- Specified by:
workflows
in interfaceAdministration
- Returns:
ViewWorkflows
instance
-
notificationSchemes
Description copied from interface:Administration
'Notification Schemes' administration section- Specified by:
notificationSchemes
in interfaceAdministration
- Returns:
NotificationSchemes
instance
-
waitForRestore
public void waitForRestore()Description copied from interface:Administration
Waits for the data import progress to complete.- Specified by:
waitForRestore
in interfaceAdministration
-