Interface IssueToSubTaskConversionService
- All Superinterfaces:
IssueConversionService
- All Known Implementing Classes:
DefaultIssueToSubTaskConversionService
Service class to reveal all business logic in converting an issue to a sub-task, including validation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateParentIssue
(JiraServiceContext context, Issue issue, Issue parentIssue, String fieldNameParentIssueKey) Validates the given parent issue key for issue key.Methods inherited from interface com.atlassian.jira.bc.subtask.conversion.IssueConversionService
canConvertIssue, convertIssue, getFieldLayoutItems, getRemovedFields, hasPermission, isStatusChangeRequired, populateFields, preStoreUpdates, validateFields, validateTargetIssueType, validateTargetStatus
-
Method Details
-
validateParentIssue
void validateParentIssue(JiraServiceContext context, Issue issue, Issue parentIssue, String fieldNameParentIssueKey) Validates the given parent issue key for issue key. Any errors are communicated back via error collection in the context.- Parameters:
context
- jira service contextissue
- issue to convertparentIssue
- possible parrent issue to checkfieldNameParentIssueKey
- form field name of the parrent issue key
-