public class

MoveSubTask

extends MoveIssue
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.AbstractViewIssue
                 ↳ com.atlassian.jira.web.action.issue.AbstractCommentableIssue
                   ↳ com.atlassian.jira.web.action.issue.AbstractCommentableAssignableIssue
                     ↳ com.atlassian.jira.web.action.issue.MoveIssue
                       ↳ com.atlassian.jira.web.action.issue.MoveSubTask

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.issue.MoveIssue
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.MoveIssue
From class com.atlassian.jira.web.action.issue.AbstractCommentableIssue
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
MoveSubTask(SubTaskManager subTaskManager, ConstantsManager constantsManager, WorkflowManager workflowManager, FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, IssueFactory issueFactory, FieldScreenRendererFactory fieldScreenRendererFactory, CommentService commentService, IssueTypeSchemeManager issueTypeSchemeManager, UserUtil userUtil)
Public Methods
String doDefault()
Handles the initial request to move an issue.
MutableIssue getIssueObject(GenericValue issue)
Collection getSubTaskTypes()
Returns a collection of Sub-task Issue Types for this project
Protected Methods
String doExecute()
Handles the request to submit the input from the first step of the wizard, the submitted information is the target project and the target issue type.
void doValidation()
Map getViewHtmlParams()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.issue.MoveIssue
From class com.atlassian.jira.web.action.issue.AbstractCommentableAssignableIssue
From class com.atlassian.jira.web.action.issue.AbstractCommentableIssue
From class com.atlassian.jira.web.action.issue.AbstractViewIssue
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 MoveSubTask (SubTaskManager subTaskManager, ConstantsManager constantsManager, WorkflowManager workflowManager, FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, IssueFactory issueFactory, FieldScreenRendererFactory fieldScreenRendererFactory, CommentService commentService, IssueTypeSchemeManager issueTypeSchemeManager, UserUtil userUtil)

Public Methods

public String doDefault ()

Handles the initial request to move an issue. It returns the view responsible for rendering the first step of the wizard, if the user is authorised to perform the move and if the issue exists.

Returns
  • "securitybreach" if the user is not authorised to move the issue; ERROR if the issue can't be found (which means it was probably deleted), or if the user isn't authorised to browse the issue; otherwise, INPUT} is returned to render the view for the first step of the wizard.
Throws
Exception

public MutableIssue getIssueObject (GenericValue issue)

public Collection getSubTaskTypes ()

Returns a collection of Sub-task Issue Types for this project

Returns
  • Sub-task Issue Types for this project

Protected Methods

protected String doExecute ()

Handles the request to submit the input from the first step of the wizard, the submitted information is the target project and the target issue type.

If the issue has sub-tasks it redirects to doDefault() so that the tasks issue types can be mapped; otherwise, it redirects to doDefault()

Returns
  • It actually doesn't return anything. If the issue has sub-tasks it redirects to doDefault() so that the tasks issue types can be mapped; otherwise, it redirects to doDefault()
Throws
Exception

protected void doValidation ()

protected Map getViewHtmlParams ()