com.atlassian.jira.rest.v2.issue
Class FieldResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.FieldResource

public class FieldResource
extends Object

Since:
5.0

Constructor Summary
FieldResource(FieldManager fieldManager, JiraAuthenticationContext authenticationContext, CustomFieldService customFieldService)
           
 
Method Summary
 javax.ws.rs.core.Response createCustomField(CustomFieldDefinitionJsonBean customFieldDefinitionJsonBean)
          Creates a custom field using a definition (object encapsulating custom field data)
 javax.ws.rs.core.Response getFields()
          Returns a list of all fields, both System and Custom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldResource

public FieldResource(FieldManager fieldManager,
                     JiraAuthenticationContext authenticationContext,
                     CustomFieldService customFieldService)
Method Detail

getFields

public javax.ws.rs.core.Response getFields()
Returns a list of all fields, both System and Custom

Returns:
a response containing all fields as short Field Meta Beans

createCustomField

public javax.ws.rs.core.Response createCustomField(CustomFieldDefinitionJsonBean customFieldDefinitionJsonBean)
Creates a custom field using a definition (object encapsulating custom field data)

Parameters:
customFieldDefinitionJsonBean - definition of custom field to create
Returns:
Response with information about created field


Copyright © 2002-2014 Atlassian. All Rights Reserved.