[Expand]
Inherited Methods |
From class
com.atlassian.jira.web.action.issue.AbstractConvertIssue
void
|
addI18nError(JiraServiceContext context, String fieldName, String i18nKey, String param)
Convenience method for adding internationalized errors to the error collection
|
void
|
addI18nError(JiraServiceContext context, String fieldName, String i18nKey)
Convenience method for adding internationalized errors to the error collection
|
void
|
addI18nErrorMessage(JiraServiceContext context, String i18nKey)
Conveniece method for adding internationalized error messages to the error collection
|
void
|
addI18nErrorMessage(JiraServiceContext context, String i18nKey, String param)
Convenience method for adding internationalized error messages to the error collection
|
String
|
doCancel()
Handles the request to cancel the issue conversion wizard.
|
String
|
doConvert()
Last step of this wizard.
|
String
|
doSetIssueType()
Second step of this wizard.
|
String
|
doSetWorkflowStatus()
Third step of this wizard.
|
String
|
doStartWizard()
First step of this wizard.
|
String
|
doUpdateFields()
Fourth step of this wizard.
|
abstract
String
|
getActionPrefix()
Prefix used for jsps Actions.
|
abstract
Collection
|
getAvailableIssueTypes()
Gets a collection of IssueType that are the available target Issue Types.
|
ConvertIssueBean
|
getBean()
Retrieves the wizard bean from the session.
|
Collection<FieldLayoutItem>
|
getConvertFieldLayoutItems()
|
String
|
getCurrentJQL()
Returns the JQL representation of the current search request in the session.
|
int
|
getCurrentStep()
|
JiraWorkflow
|
getCurrentWorkflow()
Utility method used by convertissuetosubtask-updateworkflow.jsp and
convertissuetosubtask-confirm-part1.jsp
Retrieve and return current workflow for selected issue
|
String
|
getFieldHtml(FieldLayoutItem fieldLayoutItem)
Gets the create HTML for the given FieldLayoutItem.
|
String
|
getFieldName(Field field)
Utility method used by convertissuetosubtask-confirm.jsp
|
String
|
getGuid()
|
String
|
getId()
|
Issue
|
getIssue()
Retrieves the worked on issue based on the Issue id.
|
String
|
getIssuePath()
|
String
|
getIssuetype()
|
String
|
getNewViewHtml(OrderableField field)
Gets the ne view of the field after values have been updated
|
String
|
getOldViewHtml(OrderableField field)
Gets the old view of the field before update
|
String
|
getParentIssueKey()
|
abstract
String
|
getPropertiesPrefix()
Prefix used for i18n properties.
|
Collection
|
getRemoveFields()
Returns a list of OrderableField s that should be removed from the target issue.
|
SearchRequest
|
getSearchRequest()
This method will return the one in the current search request, or return null if one does not exist.
|
MutableIssue
|
getTargetIssue()
Get Target Issue with Security Level set to null if it is needed.
|
MutableIssue
|
getTargetIssueObjectWithSecurityLevel()
Get the issue with updated Issue type and status.
|
String
|
getTargetStatusId()
|
JiraWorkflow
|
getTargetWorkflow()
Utility method used by convertissuetosubtask-confirm.jsp and
convertissuetosubtask-confirm-part1.jsp
Retrieve and return workflow for selected issue's project and new
(target) issue type.
|
String
|
getTextKey(String key)
Utility method to get appropriate key for property.
|
MutableIssue
|
getUpdatedIssue()
Gets the target issue with new values set on issue
|
abstract
void
|
initExtraFields(ConvertIssueBean bean, JiraServiceContext context)
Allows subclasses to set and init own fields.
|
void
|
initRequest(JiraServiceContext context)
Checks for valid state, populates the bean with values from parameters
and updates bean with new GUID
|
boolean
|
isStatusChangeRequired()
Whether or not the issue's status is valid in the workflow
|
void
|
setCurrentStep(int step)
|
void
|
setGuid(String guid)
|
void
|
setId(String id)
|
void
|
setIssuetype(String subTaskType)
|
void
|
setTargetStatusId(String targetStatusId)
|
void
|
validateStep1(JiraServiceContextImpl context)
Validates the first step of the wizard, subclasses can override to extend validation
|
boolean
|
wasPassed(String param)
Returns true is the specified parameter was passed via request parameter value
|
|
From class
com.atlassian.jira.web.action.JiraWebActionSupport
void
|
addError(String field, String message, ErrorCollection.Reason reason)
Add a field-specific error message.
|
void
|
addErrorCollection(ErrorCollection errors)
Populate this ErrorCollection with general and field-specific errors.
|
void
|
addErrorMessage(String message, ErrorCollection.Reason reason)
Add error message relating to system state (not field-specific), and a reason.
|
final
void
|
addErrorMessageByKeyIfAbsent(String errorMsgKey)
|
final
void
|
addErrorMessageIfAbsent(String errorMsg)
|
void
|
addMessageToResponse(String msg, String type, boolean closeable, String target)
This will populate the the custom Atlassian header with the details of a pop-up message.
|
void
|
addReason(ErrorCollection.Reason reason)
Add a reason why the function has not been performed.
|
void
|
addReasons(Set<ErrorCollection.Reason> reasons)
Add reasons why the function has not been performed.
|
String
|
forceRedirect(String redirect)
This method will force a server redirect, with no security checks.
|
String
|
getAdministratorContactLink()
Get the link, with Internationalised text for contacting the administrators of JIRA.
|
ApplicationProperties
|
getApplicationProperties()
|
AuthorizationSupport
|
getAuthorizationSupport()
|
String
|
getConglomerateCookieValue(String cookieName, String key)
Retrieve the value from a conglomerate Cookie from the request.
|
ConstantsManager
|
getConstantsManager()
|
String
|
getDateFormat()
|
String
|
getDateTimeFormat()
|
DateTimeFormatter
|
getDateTimeFormatter()
Returns a DateTimeFormatter that can be used to format times and dates in the user's time zone using RELATIVE .
|
String
|
getDescTranslation(GenericValue issueConstantGV)
|
DateTimeFormatter
|
getDmyDateFormatter()
Returns a DateTimeFormatter that can be used to format dates in the user's time zone using DATE .
|
String
|
getEmptyResponse()
Returns an empty response code (204)
|
Collection<String>
|
getErrorMessages()
|
Map<String, String>
|
getErrors()
|
Field
|
getField(String id)
|
Collection<String>
|
getFlushedErrorMessages()
Get error messages, then get rid of them.
|
GlobalPermissionManager
|
getGlobalPermissionManager()
|
final
Hint
|
getHint(String context)
|
final
HintManager
|
getHintManager()
|
HttpServletRequest
|
getHttpRequest()
|
HttpServletResponse
|
getHttpResponse()
|
HttpSession
|
getHttpSession()
|
JiraContactHelper
|
getJiraContactHelper()
|
JiraServiceContext
|
getJiraServiceContext()
Provides a service context with the current user which contains this action as its ErrorCollection .
|
String
|
getLanguage()
|
ApplicationUser
|
getLoggedInApplicationUser()
|
@Deprecated
User
|
getLoggedInUser()
|
String
|
getNameTranslation(GenericValue issueConstantGV)
|
@Deprecated
OutlookDate
|
getOutlookDate()
|
PermissionManager
|
getPermissionManager()
|
ProjectManager
|
getProjectManager()
|
final
Hint
|
getRandomHint()
|
Set<ErrorCollection.Reason>
|
getReasons()
A set of well known reasons why the function has not been performed.
|
String
|
getRedirect(String defaultUrl, boolean allowUnsafeRedirect)
Redirects to the value of getReturnUrl() , falling back to defaultUrl if the returnUrl is
not set.
|
String
|
getRedirect(String defaultUrl)
Redirects to the value of getReturnUrl() , falling back to defaultUrl if the returnUrl is
not set.
|
@Nonnull
final
RedirectSanitiser
|
getRedirectSanitiser()
Returns a RedirectSanitiser implementation.
|
String
|
getReturnUrl()
|
String
|
getReturnUrlForCancelLink()
The cancel links should not included the selectedIssueId, otherwise when returning to the issue navigator an
issue updated notification will be shown.
|
List<String>
|
getSearchSortDescriptions(SearchRequest searchRequest)
|
Project
|
getSelectedProject()
Gets the last viewed project that the user visited and still has permission to see.
|
Project
|
getSelectedProjectObject()
Gets the last viewed project that the user visited and still has permission to see.
|
String
|
getServerId()
|
ServletContext
|
getServletContext()
|
String
|
getTimeFormat()
|
UriValidator
|
getUriValidator()
|
String
|
getUserFullName(String username)
|
UserManager
|
getUserManager()
|
UserProjectHistoryManager
|
getUserProjectHistoryManager()
|
VersionManager
|
getVersionManager()
|
String
|
getWebworkStack()
For debugging JSPs; prints the webwork stack.
|
String
|
getWebworkStack(String selected)
For debugging JSPs; prints the webwork stack, highlighting the specified node.
|
String
|
getXsrfToken()
|
final
boolean
|
hasErrorMessage(String errorMsg)
|
final
boolean
|
hasErrorMessageByKey(String errorMsgKey)
|
boolean
|
hasIssuePermission(int permissionsId, Issue issue)
Returns true if the logged in user has the given permission type on the given Issue.
|
boolean
|
hasPermission(int permissionsId)
Returns true if the logged in user has the given permission type.
|
boolean
|
hasProjectPermission(int permissionsId, Project project)
Returns true if the logged in user has the given permission type on the given Project.
|
String
|
htmlEncode(String encodeMe)
Convenience instance method to call static utility from webwork EL.
|
String
|
insertContextPath(String url)
Prepends the context path to the URL if it begins with a forward slash (this is commonly used for redirects
within a JIRA instance).
|
boolean
|
isHasIssuePermission(int permissionsId, GenericValue issue)
Returns true if the logged in user has the given permission type on the given Issue.
|
boolean
|
isHasIssuePermission(String permName, GenericValue issue)
Returns true if the logged in user has the given permission type on the given Issue.
|
boolean
|
isHasPermission(int permissionsId)
|
boolean
|
isHasPermission(String permName)
|
@Deprecated
boolean
|
isHasPermission(String permName, GenericValue entity)
Returns true if remote user has permission over given entity, false otherwise.
|
boolean
|
isHasProjectPermission(String permName, GenericValue project)
|
boolean
|
isHasProjectPermission(int permissionsId, GenericValue project)
|
boolean
|
isInlineDialogMode()
This returns true if the action has been invoked as an inline dialog.
|
boolean
|
isSystemAdministrator()
|
@Deprecated
boolean
|
isUserExists(String username)
|
boolean
|
isUserExistsByKey(String userkey)
|
boolean
|
isUserExistsByName(String username)
|
String
|
returnComplete(String url)
|
String
|
returnComplete()
|
final
String
|
returnCompleteWithInlineRedirect(String url)
This will return success response with body containing url to redirect.
|
String
|
returnCompleteWithInlineRedirectAndMsg(String url, String msg, String type, boolean closeable, String target)
|
String
|
returnCompleteWithInlineRedirectAndMsg(String url, String msg, JiraWebActionSupport.MessageType type, boolean closeable, String target)
|
String
|
returnMsgToUser(String url, String msg, JiraWebActionSupport.MessageType type, boolean closeable, String target)
This will redirect like returnComplete() , and will also populate the response
with the details of a pop-up message to be displayed on the redirected page.
|
@Deprecated
String
|
returnMsgToUser(String url, String msg, String type, boolean closeable, String target)
|
void
|
setConglomerateCookieValue(String cookieName, String key, String value)
Set the value key/value pair in a conglomerate Cookie.
|
void
|
setInline(boolean inline)
This is the web parameter setter for invoking an action as an inline dialog
|
void
|
setReasons(Set<ErrorCollection.Reason> reasons)
Set reasons why the function has not been performed.
|
void
|
setReturnUrl(String returnUrl)
|
void
|
setSelectedProjectId(Long id)
|
String
|
urlEncode(String encode)
Encodes the given string into application/x-www-form-urlencoded format, using the JIRA encoding scheme to
obtain the bytes for unsafe characters.
|
|
From class
com.atlassian.jira.action.JiraActionSupport
void
|
addErrorMessages(ActionResult aResult)
|
void
|
addErrorMessages(Collection<String> errorMessages)
|
void
|
addErrors(Map<String, String> errors)
|
void
|
addIllegalArgumentException(String fieldName, IllegalArgumentException e)
Override this method from ActionSupport.
|
String
|
execute()
|
final
String
|
getActionName()
|
ApplicationProperties
|
getApplicationProperties()
|
<T>
T
|
getComponentInstanceOfType(Class<T> clazz)
|
ResourceBundle
|
getDefaultResourceBundle()
Returns the default ResourceBundle within JIRA, which does not include translations provided by plugins.
|
GenericDelegator
|
getDelegator()
|
I18nHelper
|
getI18nHelper()
|
Set<String>
|
getKeysForPrefix(String prefix)
Given a prefix for an i18n key, this method will return all keys that start with the prefix specified.
|
Locale
|
getLocale()
|
@Deprecated
abstract
User
|
getLoggedInUser()
|
OfBizDelegator
|
getOfBizDelegator()
|
User
|
getRemoteUser()
This method is deprecated.
Use getLoggedInUser() instead. Since v4.3. To be deleted in v6.0
|
ResourceBundle
|
getResourceBundle()
Returns the consolidated ResourceBundle for this I18nHelper, which includes translations provided by plugins.
|
String
|
getResult()
Get a definitive result.
|
String
|
getText(String key, String value1, String value2, String value3, String value4)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key)
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5, Object value6, Object value7)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object parameters)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found.
|
String
|
getText(String key, String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5, Object value6)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1, String value2, String value3)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5, Object value6, Object value7, Object value8)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1, String value2, String value3, String value4, String value5, String value6, String value7)
Called to return the formatted text of the specified i18n key
|
String
|
getText(String key, Object value1, Object value2, Object value3)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1, String value2)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getUnescapedText(String key)
Called to return the un-formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getUntransformedRawText(String key)
|
Preferences
|
getUserPreferences()
|
WatcherManager
|
getWatcherManager()
This method is deprecated.
Get this injected into your action instead. Since v6.0.
|
boolean
|
hasAnyErrors()
|
boolean
|
isIndexing()
|
boolean
|
isKeyDefined(String key)
For the given key, checks whether such a key is defined in the locale context represented by this helper
instance.
|
void
|
removeKeyOrAddError(Map params, String key, String messageKey)
Checks if descriptorParams contains key and removes it, otherwise adds the error message with the given message
key.
|
|
From class
webwork.action.ActionSupport
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.jira.util.ErrorCollection
|
From interface
com.atlassian.jira.util.I18nHelper
ResourceBundle
|
getDefaultResourceBundle()
Returns the default ResourceBundle within JIRA, which does not include translations provided by plugins.
|
Set<String>
|
getKeysForPrefix(String prefix)
Given a prefix for an i18n key, this method will return all keys that start with the prefix specified.
|
Locale
|
getLocale()
|
ResourceBundle
|
getResourceBundle()
Returns the consolidated ResourceBundle for this I18nHelper, which includes translations provided by plugins.
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5, Object value6, Object value7)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1, String value2, String value3, String value4)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object parameters)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found.
|
String
|
getText(String key, String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5, Object value6)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1, String value2, String value3)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, Object value1, Object value2, Object value3, Object value4, Object value5, Object value6, Object value7, Object value8)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1, String value2, String value3, String value4, String value5, String value6, String value7)
Called to return the formatted text of the specified i18n key
|
String
|
getText(String key, Object value1, Object value2, Object value3)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getText(String key, String value1, String value2)
Called to return the formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getUnescapedText(String key)
Called to return the un-formatted text of the specified i18n key or the key itself if no message can be found
|
String
|
getUntransformedRawText(String key)
|
boolean
|
isKeyDefined(String key)
For the given key, checks whether such a key is defined in the locale context represented by this helper
instance.
|
|
From interface
com.atlassian.jira.web.HttpServletVariables
|
From interface
com.atlassian.jira.web.util.AuthorizationSupport
|
From interface
webwork.action.Action
|
From interface
webwork.action.CommandDriven
|
From interface
webwork.action.IllegalArgumentAware
|