Class IssueLabelsResource

java.lang.Object
com.atlassian.jira.rest.v1.labels.IssueLabelsResource

@Path("labels") @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) @Produces({"application/json","application/xml"}) public class IssueLabelsResource extends Object
REST resource to interact with the labels for an issue.
Since:
v4.2
  • Constructor Details

  • Method Details

    • getLabels

      @GET @Path("{issueId}") public jakarta.ws.rs.core.Response getLabels(@PathParam("issueId") Long issueId, @QueryParam("customFieldId") Long customFieldId)
    • getSuggestions

      @GET @Path("suggest") public jakarta.ws.rs.core.Response getSuggestions(@QueryParam("customFieldId") Long customFieldId, @QueryParam("query") String token)
    • getSuggestions

      @GET @Path("{issueId}/suggest") public jakarta.ws.rs.core.Response getSuggestions(@PathParam("issueId") Long issueId, @QueryParam("customFieldId") Long customFieldId, @QueryParam("query") String token)
    • setLabels

      @POST @Path("{issueId}") public jakarta.ws.rs.core.Response setLabels(@PathParam("issueId") Long issueId, @QueryParam("customFieldId") Long customFieldId, @FormParam("labels") String concatenatedLabels)