@PublicSpi
public interface RestFieldOperationsHandler
Modifier and Type | Method and Description |
---|---|
Set<String> |
getSupportedOperations()
Returns a list of operation names which are supported by this field.
|
ErrorCollection |
updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations)
This method has to set the field value(s) in the
IssueInputParameters based on the operations. |
Set<String> getSupportedOperations()
ErrorCollection updateIssueInputParameters(IssueContext issueCtx, Issue issue, String fieldId, IssueInputParameters inputParameters, List<FieldOperationHolder> operations)
IssueInputParameters
based on the operations.
The issue service will validate the new field values in the IssueInputParameters, thus all permission checks are done by the issue service.issueCtx
- the Issue Context , i.e. Project IssueTypeissue
- the issue (may be null when creating an issue)fieldId
- The Id of the field being processed.inputParameters
- the inputparameters containing all updatd field values.operations
- the operations to perform for this field. Has to be one of the supported operations.Copyright © 2002-2018 Atlassian. All Rights Reserved.