Interface ProjectImportService

All Known Implementing Classes:
ProjectImportServiceImpl

public interface ProjectImportService
This service provides functionality used by Project Import Entity handlers to facilitate import of Agile data.
  • Method Details

    • createSprint

      ServiceOutcome<Long> createSprint(Map<String,Object> fields)
      Create a sprint with the given attributes, and returns the newly created sprint id.
      Parameters:
      fields - attributes defining the SprintAO object
      Returns:
      service outcome containing the newly created sprint id
    • addSprintCFValue

      void addSprintCFValue(Long issueId, Long sprintId)
      Add an issue to a sprint.
      Parameters:
      issueId - is the issue
      sprintId - is the sprint
    • rankAfter

      ServiceResult rankAfter(Long fieldId, Long issueId, @Nullable Long previousIssueId)
      Adds a rank entry for the field and issue.
      Parameters:
      fieldId - id of the lexo rank custom field
      issueId - id of the issue to be ranked
      previousIssueId - (optional) id of the issue that this issue should be ranked after
      Returns:
      service outcome for the success of the operation
    • getDefaultRankFieldId

      Long getDefaultRankFieldId()
      Get the custom field that is the default ranking field.
      Returns:
      the default rank field
    • getRankFieldIds

      List<Long> getRankFieldIds()
      Get all the fields that represent rank fields.
      Returns:
      a list of all fields that have a type of rank