com.atlassian.jira.rest.v2.issue
Class FieldResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.FieldResource
public class FieldResource
- extends Object
- Since:
- 5.0
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 |
FieldResource
public FieldResource(FieldManager fieldManager,
JiraAuthenticationContext authenticationContext,
CustomFieldService customFieldService)
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-2013 Atlassian. All Rights Reserved.