public class CreateIssueDetails extends CreateIssue
CreateIssue.ButtonHolder
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected IssueService |
issueService |
protected IssueService.CreateValidationResult |
validationResult |
fieldValuesHolder, issueCreationHelperBean
id, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECT
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
log
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, validateIssueType
addErrorMessage, 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, setViewIssueKey
addIssueToHistory, 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, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
addError, 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, urlEncode
addErrorMessages, 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, removeKeyOrAddError
addError, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoggedInApplicationUser
addError, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
protected 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 CreateIssue
protected void transferErrorToMessages(ErrorCollection errorCollection)
protected String doExecute() throws Exception
doExecute
in class CreateIssue
Exception
public org.ofbiz.core.entity.GenericValue getIssue()
AbstractIssueSelectAction
getIssue
in class AbstractIssueSelectAction
AbstractIssueSelectAction.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
WorkflowException
public Map<String,Object> getDisplayParams()
getDisplayParams
in class CreateIssue
Copyright © 2002-2022 Atlassian. All Rights Reserved.