Interface GeneralConfiguration
- All Known Implementing Classes:
GeneralConfigurationImpl
public interface GeneralConfiguration
Allows you to perform admin actions that happen in the GeneralConfiguration section of the admin section.
- Since:
- v3.13
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
static enum
Options for user email visibility -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Disable watching of issuesvoid
void
Enable watching of issuesvoid
Set the baseUrl to that of the functional base URL.void
setAllowUnassignedIssues
(boolean enable) void
setBaseUrl
(String baseUrl) Set the baseUrl of this JIRA instance to the String provided.void
setCommentVisibility
(GeneralConfiguration.CommentVisibility commentVisibility) void
setDefaultUserTimeZone
(String timeZoneID) Sets the default user time zone for this JIRA instance.void
setExternalUserManagement
(boolean enable) void
setJiraLocale
(String locale) Sets the default locale of this JIRA instance.void
setJiraLocaleByValue
(String localeValue) Sets the default locale of this JIRA instance.void
Sets the default locale to the system localevoid
setJqlAutocomplete
(boolean enable) void
setUserEmailVisibility
(GeneralConfiguration.EmailVisibility emailVisibility) Set the visibility level of user emails.void
Turn on compression of web pages that JIRA sends to the browser.
-
Method Details
-
setAllowUnassignedIssues
void setAllowUnassignedIssues(boolean enable) -
setExternalUserManagement
void setExternalUserManagement(boolean enable) -
disableVoting
void disableVoting() -
enableVoting
void enableVoting() -
setCommentVisibility
-
setUserEmailVisibility
Set the visibility level of user emails.- Parameters:
emailVisibility
- one of the predefined visibility levels- See Also:
-
setJqlAutocomplete
void setJqlAutocomplete(boolean enable) - Parameters:
enable
- enable or disable JQL Auto-complete globally
-
setBaseUrl
Set the baseUrl of this JIRA instance to the String provided.- Parameters:
baseUrl
- The baseurl to use for this instance
-
fixBaseUrl
void fixBaseUrl()Set the baseUrl to that of the functional base URL. -
setJiraLocale
Sets the default locale of this JIRA instance.- Parameters:
locale
- The locale to use by default e.g."German (Germany)"
,"English (UK)"
-
setJiraLocaleByValue
Sets the default locale of this JIRA instance. Note that the system locale will have a value of -1. You can usesetJiraLocaleToSystemDefault()
instead for this.- Parameters:
localeValue
- The value of the locale to use e.g."en_AU"
,"en_UK"
.
-
setJiraLocaleToSystemDefault
void setJiraLocaleToSystemDefault()Sets the default locale to the system locale -
disableWatching
void disableWatching()Disable watching of issues -
enableWatching
void enableWatching()Enable watching of issues -
turnOnGZipCompression
void turnOnGZipCompression()Turn on compression of web pages that JIRA sends to the browser. -
setDefaultUserTimeZone
Sets the default user time zone for this JIRA instance. A null time zone means that JIRA will use the default JVM time zone.- Parameters:
timeZoneID
-
-