Class CreateSplitIssuesHelperImpl
java.lang.Object
com.atlassian.greenhopper.web.rapid.plan.splitissue.CreateSplitIssuesHelperImpl
- All Implemented Interfaces:
CreateSplitIssuesHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionServiceOutcome
<List<com.atlassian.jira.issue.Issue>> createIssues
(@NotNull com.atlassian.jira.issue.Issue originalIssue, @NotNull List<SplitIssueService.IssueData> newIssueAttributes) Creates additional issues that the original issue is split into.
-
Constructor Details
-
CreateSplitIssuesHelperImpl
public CreateSplitIssuesHelperImpl()
-
-
Method Details
-
createIssues
public ServiceOutcome<List<com.atlassian.jira.issue.Issue>> createIssues(@NotNull @NotNull com.atlassian.jira.issue.Issue originalIssue, @NotNull @NotNull List<SplitIssueService.IssueData> newIssueAttributes) Description copied from interface:CreateSplitIssuesHelper
Creates additional issues that the original issue is split into. New issues are cloned off the original one, estimation is applied and several attributes are overwritten (like creation date etc.). Additionally only future sprints are copied. The exact fields that are changed: - summary changed to provided - created and updated time changed to now - original time estimate and remaining estimate erased, unless it's the provided estimation - time spent changed to zero - resolution date erased - watchers and votes removed- Specified by:
createIssues
in interfaceCreateSplitIssuesHelper
- Parameters:
originalIssue
- The original issue.newIssueAttributes
- Data for the new issues.- Returns:
- Created issues
-