public class

CreateNewJiraIssueAction

extends AbstractJiraIssueAction
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

Summary

Constants
String APPLICATION_LINK_ID_JSON_KEY
String ISSUETYPE_JSON_KEY
String NEW_ISSUE_KEY_PARAM
String PROJECT_JSON_KEY
[Expand]
Inherited Constants
From class com.atlassian.bamboo.ww2.BambooActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.bamboo.ww2.actions.jira.AbstractJiraIssueAction
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
CreateNewJiraIssueAction()
Public Methods
void addLinkFromResultSummaryToJiraIssue(String issueKey, ResultsSummary resultsSummary)
String doExecute()
Places the current user on the page
String doInput()
List<Long> getComponents()
String getCredentialsRequiredUrl()
String getDescription()
String getIssuetype()
List<String> getJiraIssueTypes()
List<String> getJiraProjects()
String getProject()
String getSummary()
List<Long> getVersions()
void setApplinkHostApplication(BambooHostApplication bambooHostApplication)
void setComponents(List<String> components)
void setDescription(String description)
void setEventPublisher(EventPublisher eventPublisher)
void setIssuetype(String issueType)
void setProject(String project)
void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
void setSummary(String summary)
void setVersions(List<String> versions)
Protected Methods
@NotNull JSONObject buildJsonObject()
Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly.
[Expand]
Inherited Methods
From class com.atlassian.bamboo.ww2.actions.jira.AbstractJiraIssueAction
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.bamboo.utils.error.ErrorCollection
From interface com.atlassian.bamboo.ww2.aware.BambooSessionAware
From interface com.atlassian.bamboo.ww2.aware.NavigationAware
From interface com.atlassian.bamboo.ww2.aware.ReturnUrlAware
From interface com.atlassian.bamboo.ww2.aware.permissions.DomainObjectSecurityAware
From interface com.atlassian.core.i18n.I18nTextProvider
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware
From interface com.uwyn.rife.continuations.ContinuableObject

Constants

public static final String APPLICATION_LINK_ID_JSON_KEY

Constant Value: "applicationLinkId"

public static final String ISSUETYPE_JSON_KEY

Constant Value: "issuetype"

public static final String NEW_ISSUE_KEY_PARAM

Constant Value: "newIssueKey"

public static final String PROJECT_JSON_KEY

Constant Value: "project"

Public Constructors

public CreateNewJiraIssueAction ()

Public Methods

public void addLinkFromResultSummaryToJiraIssue (String issueKey, ResultsSummary resultsSummary)

Throws
Exception

public String doExecute ()

Places the current user on the page

Returns
  • webwork success status
Throws
Exception

public String doInput ()

Throws
Exception

public List<Long> getComponents ()

public String getCredentialsRequiredUrl ()

public String getDescription ()

public String getIssuetype ()

public List<String> getJiraIssueTypes ()

public List<String> getJiraProjects ()

public String getProject ()

public String getSummary ()

public List<Long> getVersions ()

public void setApplinkHostApplication (BambooHostApplication bambooHostApplication)

public void setComponents (List<String> components)

public void setDescription (String description)

public void setEventPublisher (EventPublisher eventPublisher)

public void setIssuetype (String issueType)

public void setProject (String project)

public void setResultsSummaryManager (ResultsSummaryManager resultsSummaryManager)

public void setSummary (String summary)

public void setVersions (List<String> versions)

Protected Methods

@NotNull protected JSONObject buildJsonObject ()

Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly.

Returns
  • Initialized JSONObject
Throws
JSONException