public class

CreateSubTaskIssue

extends CreateIssue
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.ProjectActionSupport
           ↳ com.atlassian.jira.web.action.IssueActionSupport
             ↳ com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
               ↳ com.atlassian.jira.web.action.issue.CreateIssue
                 ↳ com.atlassian.jira.web.action.issue.CreateSubTaskIssue

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.issue.CreateIssue
From class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
CreateSubTaskIssue(ConstantsManager constantsManager, IssueManager issueManager, IssueCreationHelperBean issueCreationHelperBean, IssueFactory issueFactory)
Public Methods
Map<StringObject> getDisplayParams()
MutableIssue getIssueObject()
Returns the current Issue.
Collection getIssueTypes()
Long getParentIssueId()
String getParentIssueKey()
String getParentIssuePath()
Gets the relative path to the parent issue.
Long getPid()
void setParentIssueId(Long parentIssueId)
Protected Methods
Collection getIssueTypesForProject(Project project)
Returns a collection of sub-tasks issue types for the given project.
String getRedirectForCreateBypass()
void recordHistoryIssueType()
void setHistoryIssuetype()
void validateIssueType()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.issue.CreateIssue
From class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.OperationContext
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.action.issue.Assignable
From interface com.atlassian.jira.web.action.issue.IssueSummaryAware
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public CreateSubTaskIssue (ConstantsManager constantsManager, IssueManager issueManager, IssueCreationHelperBean issueCreationHelperBean, IssueFactory issueFactory)

Public Methods

public Map<StringObject> getDisplayParams ()

public MutableIssue getIssueObject ()

Returns the current Issue. This method performs the same security checks as getIssue().

Returns
  • The current issue.

public Collection getIssueTypes ()

public Long getParentIssueId ()

public String getParentIssueKey ()

public String getParentIssuePath ()

Gets the relative path to the parent issue. It does not include the context path.

Returns
  • The relative path to the parent issue.

public Long getPid ()

public void setParentIssueId (Long parentIssueId)

Protected Methods

protected Collection getIssueTypesForProject (Project project)

Returns a collection of sub-tasks issue types for the given project.

Parameters
project project to get the sub-tasks issue types for
Returns
  • a collection of sub-tasks issue types for the given project

protected String getRedirectForCreateBypass ()

protected void recordHistoryIssueType ()

protected void setHistoryIssuetype ()

protected void validateIssueType ()