java.lang.Object | ||||
↳ | webwork.action.ActionSupport | |||
↳ | com.atlassian.jira.action.JiraActionSupport | |||
↳ | com.atlassian.jira.web.action.JiraWebActionSupport | |||
↳ | com.atlassian.jira.web.action.issue.AbstractConvertIssue |
Known Direct Subclasses |
Abstract class for issue conversion Contains all do* methods and vast majority of logic
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | SECURITY_BREACH | ||||||||||
int | STEP_1 | ||||||||||
int | STEP_2 | ||||||||||
int | STEP_3 | ||||||||||
int | STEP_4 |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.web.action.JiraWebActionSupport
| |||||||||||
From interface
webwork.action.Action
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
constantsManager | |||||||||||
fieldLayoutManager | |||||||||||
guid | |||||||||||
id | |||||||||||
issue | |||||||||||
issueManager | |||||||||||
issueType | |||||||||||
permissionManager | |||||||||||
rendererManager | |||||||||||
targetStatusId | |||||||||||
workflowManager |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.web.action.JiraWebActionSupport
| |||||||||||
From class
com.atlassian.jira.action.JiraActionSupport
| |||||||||||
From class
webwork.action.ActionSupport
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Handles the request to cancel the issue conversion wizard.
| |||||||||||
Last step of this wizard.
| |||||||||||
Second step of this wizard.
| |||||||||||
Third step of this wizard.
| |||||||||||
First step of this wizard.
| |||||||||||
Fourth step of this wizard.
| |||||||||||
Prefix used for jsps Actions.
| |||||||||||
Gets a collection of
IssueType that are the available target Issue Types. | |||||||||||
Returns a list of
FieldLayoutItem that need values for conversion. | |||||||||||
Utility method used by convertissuetosubtask-updateworkflow.jsp and
convertissuetosubtask-confirm-part1.jsp
Retrieve and return current workflow for selected issue | |||||||||||
Gets the create HTML for the given FieldLayoutItem.
| |||||||||||
Utility method used by convertissuetosubtask-confirm.jsp
| |||||||||||
Retrieves the worked on issue based on the Issue id.
| |||||||||||
Gets the ne view of the field after values have been updated
| |||||||||||
Gets the old view of the field before update
| |||||||||||
Prefix used for i18n properties.
| |||||||||||
Returns a list of
OrderableField s that should be removed from the target issue. | |||||||||||
Get Target Issue with Security Level set to null if it is needed.
| |||||||||||
Utility method used by convertissuetosubtask-confirm.jsp and
convertissuetosubtask-confirm-part1.jsp
Retrieve and return workflow for selected issue's project and new (target) issue type. | |||||||||||
Utility method to get appropriate key for property.
| |||||||||||
Gets the target issue with new values set on issue
| |||||||||||
Whether or not the issue's status is valid in the workflow
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method for adding internationalized errors to the error collection
| |||||||||||
Convenience method for adding internationalized errors to the error collection
| |||||||||||
Convenience method for adding internationalized error messages to the error collection
| |||||||||||
Conveniece method for adding internationalized error messages to the error collection
| |||||||||||
Retrieves the wizard bean from the session.
| |||||||||||
Get the issue with updated Issue type and status.
| |||||||||||
Allows subclasses to set and init own fields.
| |||||||||||
Checks for valid state, populates the bean with values from parameters
and updates bean with new GUID
| |||||||||||
Validates the first step of the wizard, subclasses can override to extend validation
| |||||||||||
Returns true is the specified parameter was passed via request parameter value
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.util.ErrorCollection
| |||||||||||
From interface
com.atlassian.jira.util.I18nHelper
| |||||||||||
From interface
com.atlassian.jira.web.HttpServletVariables
| |||||||||||
From interface
com.atlassian.jira.web.util.AuthorizationSupport
| |||||||||||
From interface
webwork.action.Action
| |||||||||||
From interface
webwork.action.CommandDriven
| |||||||||||
From interface
webwork.action.IllegalArgumentAware
|
Handles the request to cancel the issue conversion wizard. Clears the session and redirects to the view issue page for the issue in play.
Last step of this wizard.
Gets the issue by given id. In case of error returns ERROR
view.
Checks user's permission, if denied returns SECURITY_BREACH
view.
Checks if given issue is convertable and valid values were entered,
if not returns ERROR
view.
Executes the conversion.
Returns to the issue
Second step of this wizard.
Gets the issue by given id. In case of error returns ERROR
view.
Checks user's permission, if denied returns SECURITY_BREACH
view.
Checks if given issue is convertable and validates other values,
if not returns ERROR
view.
Returns view to update workflow or update fields view
Third step of this wizard.
Gets the issue by given id. In case of error returns ERROR
view.
Checks user's permission, if denied returns SECURITY_BREACH
view.
Checks if given issue is convertable and valid values were entered,
if not returns ERROR
view.
Returns SUCCESS
view
First step of this wizard.
Gets the issue by given id. In case of error returns ERROR
view.
Checks user's permission, if denied returns SECURITY_BREACH
view.
Checks if given issue is convertable, if not returns ERROR
view.
Returns SUCCESS
view
Fourth step of this wizard.
Gets the issue by given id. In case of error returns ERROR
view.
Checks user's permission, if denied returns SECURITY_BREACH
view.
Checks if given issue is convertable and valid values were entered,
if not returns ERROR
view.
Returns SUCCESS
view
Prefix used for jsps Actions. Allows the same jsp to be used for different actions
Returns a list of FieldLayoutItem
that need values for conversion.
FieldLayoutItem
Utility method used by convertissuetosubtask-updateworkflow.jsp and
convertissuetosubtask-confirm-part1.jsp
Retrieve and return current workflow for selected issue
DataAccessException | if WorkflowException occured during retrieval |
---|
Gets the create HTML for the given FieldLayoutItem.
fieldLayoutItem | Layoutitem describing field to display |
---|
Utility method used by convertissuetosubtask-confirm.jsp
field | filed |
---|
Gets the ne view of the field after values have been updated
field | Field to display |
---|
Gets the old view of the field before update
field | Field to display |
---|
Prefix used for i18n properties. Allows the same jsp to be used for different actions
Returns a list of OrderableField
s that should be removed from the target issue.
OrderableField
s that should be removed from the target issue.
Get Target Issue with Security Level set to null if it is needed. JRA-11605 - we need this method so that the display can prompt the user with values from system fields that are unencumbered by security level permission checks.
Utility method used by convertissuetosubtask-confirm.jsp and
convertissuetosubtask-confirm-part1.jsp
Retrieve and return workflow for selected issue's project and new
(target) issue type.
DataAccessException | if WorkflowException occured during retrieval |
---|
Utility method to get appropriate key for property.
key | to get |
---|
Gets the target issue with new values set on issue
Whether or not the issue's status is valid in the workflow
Convenience method for adding internationalized errors to the error collection
context | jira service context |
---|---|
fieldName | field name |
i18nKey | message key |
param | parameter value |
Convenience method for adding internationalized errors to the error collection
context | jira service context |
---|---|
fieldName | field name |
i18nKey | message key |
Convenience method for adding internationalized error messages to the error collection
context | jira service context |
---|---|
i18nKey | message key |
param | parameter value |
Conveniece method for adding internationalized error messages to the error collection
context | jira service context |
---|---|
i18nKey | message key |
Retrieves the wizard bean from the session. Never returns null, if no bean is found new one is created and stored in the session.
Get the issue with updated Issue type and status. Subclasses can over-ride if they need to set their own fields. E.g Issue to sub-task conversion sets the new parent issue. Security level remains intact.
Allows subclasses to set and init own fields. E.g. ConvertIssueToSubTask sets parent id.
bean | bean that holds params. |
---|---|
context | jira service context. |
Checks for valid state, populates the bean with values from parameters and updates bean with new GUID
context | jira service context |
---|
Validates the first step of the wizard, subclasses can override to extend validation
context | jira service context |
---|
Returns true is the specified parameter was passed via request parameter value
param | parameter to check |
---|