com.atlassian.bamboo.ww2.actions.jira
Class CreateNewJiraIssueAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.jira.AbstractJiraIssueAction
com.atlassian.bamboo.ww2.actions.jira.CreateNewJiraIssueAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
public class CreateNewJiraIssueAction
- extends AbstractJiraIssueAction
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, featureManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.actions.jira.AbstractJiraIssueAction |
copyErrorsToAction, copyErrorsToAction, copyErrorsToActionWarnings, getAppLinkId, getJiraServers, getPlanResultKey, getSelectedJiraApplicationLink, setAppLinkId, setJiraApplinksService, setJiraRemoteIssueManager, setJiraRestService, setPlanResultKey |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionMessage, addFieldError, clearErrorsAndMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEW_ISSUE_KEY_PARAM
public static final java.lang.String NEW_ISSUE_KEY_PARAM
- See Also:
- Constant Field Values
APPLICATION_LINK_ID_JSON_KEY
public static final java.lang.String APPLICATION_LINK_ID_JSON_KEY
- See Also:
- Constant Field Values
PROJECT_JSON_KEY
public static final java.lang.String PROJECT_JSON_KEY
- See Also:
- Constant Field Values
ISSUETYPE_JSON_KEY
public static final java.lang.String ISSUETYPE_JSON_KEY
- See Also:
- Constant Field Values
CreateNewJiraIssueAction
public CreateNewJiraIssueAction()
buildJsonObject
@NotNull
protected com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
- Description copied from class:
BambooActionSupport
- Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly.
- Overrides:
buildJsonObject
in class BambooActionSupport
- Returns:
- Initialized JSONObject
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
doInput
public java.lang.String doInput()
throws java.lang.Exception
- Overrides:
doInput
in class com.opensymphony.xwork.ActionSupport
- Throws:
java.lang.Exception
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- Description copied from class:
BambooActionSupport
- Places the current user on the page
- Overrides:
doExecute
in class BambooActionSupport
- Returns:
- webwork success status
- Throws:
java.lang.Exception
- something nasty went wrong
addLinkFromResultSummaryToJiraIssue
public void addLinkFromResultSummaryToJiraIssue(java.lang.String issueKey,
ResultsSummary resultsSummary)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCredentialsRequiredUrl
public java.lang.String getCredentialsRequiredUrl()
getJiraProjects
public java.util.List<java.lang.String> getJiraProjects()
getJiraIssueTypes
public java.util.List<java.lang.String> getJiraIssueTypes()
getSummary
public java.lang.String getSummary()
setSummary
public void setSummary(java.lang.String summary)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getIssuetype
public java.lang.String getIssuetype()
setIssuetype
public void setIssuetype(java.lang.String issueType)
getProject
public java.lang.String getProject()
setProject
public void setProject(java.lang.String project)
getComponents
public java.util.List<java.lang.Long> getComponents()
setComponents
public void setComponents(java.util.List<java.lang.String> components)
getVersions
public java.util.List<java.lang.Long> getVersions()
setVersions
public void setVersions(java.util.List<java.lang.String> versions)
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
setResultsSummaryManager
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
setApplinkHostApplication
public void setApplinkHostApplication(BambooHostApplication bambooHostApplication)
Copyright © 2012 Atlassian. All Rights Reserved.