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

All Known Subinterfaces:
CustomField
All Known Implementing Classes:
AffectedVersionsSystemField, AssigneeSystemField, CommentSystemField, ComponentsSystemField, CustomFieldImpl, CustomFieldTestImpl, DescriptionSystemField, DueDateSystemField, EnvironmentSystemField, FixVersionsSystemField, IssueLinksSystemField, LabelsSystemField, MockCustomField, PrioritySystemField, ReporterSystemField, ResolutionSystemField, SecurityLevelSystemField, SummarySystemField, TimeTrackingSystemField, WorklogSystemField

@PublicApi
public interface RestFieldOperations

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

Since:
v5.0

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

Method Detail

getRestFieldOperation

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

getJsonDefaultValue

JsonData getJsonDefaultValue(IssueContext issueCtx)
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.


Copyright © 2002-2013 Atlassian. All Rights Reserved.