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 Summary
Modifier and TypeMethodDescriptionvoid
addSprintCFValue
(Long issueId, Long sprintId) Add an issue to a sprint.createSprint
(Map<String, Object> fields) Create a sprint with the given attributes, and returns the newly created sprint id.Get the custom field that is the default ranking field.Get all the fields that represent rank fields.Adds a rank entry for the field and issue.
-
Method Details
-
createSprint
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
Add an issue to a sprint.- Parameters:
issueId
- is the issuesprintId
- is the sprint
-
rankAfter
Adds a rank entry for the field and issue.- Parameters:
fieldId
- id of the lexo rank custom fieldissueId
- id of the issue to be rankedpreviousIssueId
- (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
Get all the fields that represent rank fields.- Returns:
- a list of all fields that have a type of rank
-