public class FieldResource extends Object
Constructor and Description |
---|
FieldResource(FieldManager fieldManager,
JiraAuthenticationContext authenticationContext,
CustomFieldService customFieldService,
SearchHandlerManager searchHandlerManager,
com.atlassian.event.api.EventPublisher eventPublisher,
AccessDisablingHelper accessDisablingHelper,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
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(String requestedWith)
Returns a list of all fields, both System and Custom
|
public FieldResource(FieldManager fieldManager, JiraAuthenticationContext authenticationContext, CustomFieldService customFieldService, SearchHandlerManager searchHandlerManager, com.atlassian.event.api.EventPublisher eventPublisher, AccessDisablingHelper accessDisablingHelper, PermissionManager permissionManager)
public javax.ws.rs.core.Response getFields(@HeaderParam(value="X-Requested-With") String requestedWith)
public javax.ws.rs.core.Response createCustomField(CustomFieldDefinitionJsonBean customFieldDefinitionJsonBean)
customFieldDefinitionJsonBean
- definition of custom field to createCopyright © 2002-2022 Atlassian. All Rights Reserved.