Class LabelsResource

java.lang.Object
com.atlassian.jira.gadgets.system.LabelsResource

@Path("labels") @Produces("application/json") public class LabelsResource extends Object
Labels Resource for the label gadget
Since:
v4.2
  • Constructor Details

  • Method Details

    • getLabelFields

      @GET @Path("gadget/fields") @Produces("application/json") public javax.ws.rs.core.Response getLabelFields()
    • validateLabelGadgetConfiguration

      @GET @Path("gadget/configuration/validate") @Produces("application/json") public javax.ws.rs.core.Response validateLabelGadgetConfiguration()
    • getLabelGroups

      @GET @Path("gadget/{project}/{fieldId}/groups") @Produces("text/html") public javax.ws.rs.core.Response getLabelGroups(@PathParam("project") String project, @PathParam("fieldId") String fieldId)
    • getLabelsGroupsJSON

      @GET @Path("gadget/{project}/{fieldId}") @Produces("application/json") public javax.ws.rs.core.Response getLabelsGroupsJSON(@PathParam("project") String projectKey, @PathParam("fieldId") String fieldId)