com.atlassian.jira.projectconfig.rest.global
Class IssueCustomFieldsResource

java.lang.Object
  extended by com.atlassian.jira.projectconfig.rest.global.IssueCustomFieldsResource

public class IssueCustomFieldsResource
extends Object

Allows custom fields to be added to an issue's create, edit, and view screens.

Since:
v6.1

Nested Class Summary
static class IssueCustomFieldsResource.AbstractFieldBean
           
static class IssueCustomFieldsResource.FieldBean
           
static class IssueCustomFieldsResource.FieldBeanWithVisiblityFlag
           
 
Constructor Summary
IssueCustomFieldsResource(IssueManager issueManager, CustomFieldManager fieldManager, IssueFields fields)
           
 
Method Summary
 javax.ws.rs.core.Response addCustomField(long issueId, String fieldId)
          Add a custom field to the create, edit, and view screens that are currently used by an issue.
 javax.ws.rs.core.Response getAffectedProjects(long issueId)
          Return the projects that would be affected if a field was added to the passed screen.
 javax.ws.rs.core.Response getFields(long issueId, boolean onAllScreensFlag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueCustomFieldsResource

public IssueCustomFieldsResource(IssueManager issueManager,
                                 CustomFieldManager fieldManager,
                                 IssueFields fields)
Method Detail

addCustomField

public javax.ws.rs.core.Response addCustomField(long issueId,
                                                String fieldId)
Add a custom field to the create, edit, and view screens that are currently used by an issue.

Parameters:
issueId - the ID of the issue
fieldId - the ID of the field to add to the screens.

getAffectedProjects

public javax.ws.rs.core.Response getAffectedProjects(long issueId)
Return the projects that would be affected if a field was added to the passed screen.

Parameters:
issueId - the ID of the issue to query.
Returns:
a list of project names affected by the change.

getFields

public javax.ws.rs.core.Response getFields(long issueId,
                                           boolean onAllScreensFlag)


Copyright © 2002-2014 Atlassian. All Rights Reserved.