com.atlassian.jira.issue.fields.rest
Interface RestCustomFieldTypeOperations

All Known Implementing Classes:
CascadingSelectCFType, DateCFType, DateTimeCFType, GenericTextCFType, ImportIdLinkCFType, LabelsCFType, MultiGroupCFType, MultiSelectCFType, MultiUserCFType, NumberCFType, ProjectCFType, ReadOnlyCFType, RenderableTextCFType, SelectCFType, TextAreaCFType, URLCFType, UserCFType, VersionCFType

@PublicSpi
public interface RestCustomFieldTypeOperations

Interface for fields which can be modified using the rest api.

Since:
v5.0

Method Summary
 JsonData getJsonDefaultValue(IssueContext issueCtx, CustomField field)
          Return The default data for this system field.
 RestFieldOperationsHandler getRestFieldOperation(CustomField field)
          Returns the RestFieldOperationsHandler for this field.
 

Method Detail

getRestFieldOperation

RestFieldOperationsHandler getRestFieldOperation(CustomField field)
Returns the RestFieldOperationsHandler for this field.

Parameters:
field - the Custom Field
Returns:
the RestFieldOperationsHandler for this field.

getJsonDefaultValue

JsonData getJsonDefaultValue(IssueContext issueCtx,
                             CustomField field)
Return The default data for this system field. May be null if there is no default.

Parameters:
issueCtx - Issue (This should really only need to be an issue context, but for historical reasons we need an issue object.
field - the Custom Field
Returns:
The default data for this system field.


Copyright © 2002-2012 Atlassian. All Rights Reserved.