public class CreateIssueDetails extends CreateIssue
CreateIssue.ButtonHolderJiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactory| Modifier and Type | Field and Description |
|---|---|
protected IssueService |
issueService |
protected IssueService.CreateValidationResult |
validationResult |
fieldValuesHolder, issueCreationHelperBeanid, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECTattachmentManagerprojectManagerISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| Constructor and Description |
|---|
CreateIssueDetails(IssueFactory issueFactory,
IssueCreationHelperBean issueCreationHelperBean,
IssueService issueService,
TemporaryAttachmentsMonitorLocator temporaryAttachmentsMonitorLocator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createIssue() |
protected String |
doExecute() |
String |
doInit()
JRA-4791 - To allow direct links to populate the create issue details page without submiting the form
|
protected String |
doPostCreationTasks() |
protected void |
doValidation() |
protected String |
getAuxiliarySubmitButtonValue()
The jira-workflow.xml Create action (id 1) can contain meta attributes indicating that auxiliary (alternative) 'Create'
buttons must be shown, to support alternative ways of submitting an issue (eg.
|
Map<String,Object> |
getDisplayParams() |
org.ofbiz.core.entity.GenericValue |
getIssue()
Gets the current issue's GenericValue.
|
protected void |
transferErrorToMessages(ErrorCollection errorCollection) |
doDefault, getAllowedProjects, getAssignee, getAssignIn, getButtons, getCustomFields, getFieldScreenRenderer, getFieldScreenRenderTabs, getFieldValuesHolder, getIgnoreFieldIds, getIssueObject, getIssueOperation, getIssuetype, getIssueType, getIssueTypesForProject, getPid, getProjectObject, getRedirectForCreateBypass, getSelectedTab, getSubmitButtonName, getTabsWithErrors, hasProjectPermission, isAbleToCreateIssueInSelectedProject, populateFieldHolderWithDefaults, recordHistoryIssueType, setAssignee, setHistoryIssuetype, setIssuetype, setPid, validateIssueTypeaddErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getMutableIssue, getParentIssueObject, getProject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKeyaddIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequestgetBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectaddError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeaddErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoggedInApplicationUseraddError, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagesprotected final IssueService issueService
protected IssueService.CreateValidationResult validationResult
public CreateIssueDetails(IssueFactory issueFactory, IssueCreationHelperBean issueCreationHelperBean, IssueService issueService, TemporaryAttachmentsMonitorLocator temporaryAttachmentsMonitorLocator)
public String doInit()
protected void doValidation()
doValidation in class CreateIssueprotected void transferErrorToMessages(ErrorCollection errorCollection)
protected String doExecute() throws Exception
doExecute in class CreateIssueExceptionpublic org.ofbiz.core.entity.GenericValue getIssue()
AbstractIssueSelectActiongetIssue in class AbstractIssueSelectActionAbstractIssueSelectAction.getIssueObject()protected String getAuxiliarySubmitButtonValue() throws WorkflowException
createissue.shortcut.submit
This method checks whether a Request param matching any meta name was found (eg. 'foo.jsp?jira.button.submit=jira.button.submit', and if so, returns the name ('jira.button.submit'). This can then be passed back to the workflow. Returns 'null' if the regular submit button was pressed
WorkflowExceptionpublic Map<String,Object> getDisplayParams()
getDisplayParams in class CreateIssueCopyright © 2002-2019 Atlassian. All Rights Reserved.