Class IssueCustomFieldsResource

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

@Path("issuecustomfields") @Consumes("application/json") @Produces("application/json") public class IssueCustomFieldsResource extends Object
Allows custom fields to be added to an issue's create, edit, and view screens.
Since:
v6.1
  • Constructor Details

  • Method Details

    • addCustomField

      @POST @Path("{issue}") public jakarta.ws.rs.core.Response addCustomField(@PathParam("issue") 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.
    • getFields

      @GET @Path("{issue}/fields") public jakarta.ws.rs.core.Response getFields(@PathParam("issue") long issueId, @DefaultValue("false") @QueryParam("onAllScreensFlag") boolean onAllScreensFlag)