Interface CreateSplitIssuesHelper

All Known Implementing Classes:
CreateSplitIssuesHelperImpl

public interface CreateSplitIssuesHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    ServiceOutcome<List<com.atlassian.jira.issue.Issue>>
    createIssues(com.atlassian.jira.issue.Issue originalIssue, List<SplitIssueService.IssueData> newIssueAttributes)
    Creates additional issues that the original issue is split into.
  • Method Details

    • createIssues

      ServiceOutcome<List<com.atlassian.jira.issue.Issue>> createIssues(com.atlassian.jira.issue.Issue originalIssue, List<SplitIssueService.IssueData> newIssueAttributes)
      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
      Parameters:
      originalIssue - The original issue.
      newIssueAttributes - Data for the new issues.
      Returns:
      Created issues