com.atlassian.jira.bc.subtask.conversion
Interface IssueToSubTaskConversionService
- All Superinterfaces:
- IssueConversionService
- All Known Implementing Classes:
- DefaultIssueToSubTaskConversionService
public interface IssueToSubTaskConversionService
- extends IssueConversionService
Service class to reveal all business logic in converting an issue to a sub-task, including validation.
This business component should be used by all clients: web, rpc-soap, jelly, etc.
Methods inherited from interface com.atlassian.jira.bc.subtask.conversion.IssueConversionService |
canConvertIssue, convertIssue, getFieldLayoutItems, getRemovedFields, hasPermission, isStatusChangeRequired, populateFields, preStoreUpdates, validateFields, validateTargetIssueType, validateTargetStatus |
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
Copyright © 2002-2012 Atlassian. All Rights Reserved.