Class IssueLinkTypeResource

java.lang.Object
com.atlassian.jira.rest.v2.issue.IssueLinkTypeResource

@Path("issueLinkType") @Consumes("application/json") @Produces("application/json") public class IssueLinkTypeResource extends Object
Rest resource to retrieve a list of issue link types.
  • Constructor Details

  • Method Details

    • getIssueLinkTypes

      @GET public javax.ws.rs.core.Response getIssueLinkTypes()
      Returns a list of available issue link types, if issue linking is enabled. Each issue link type has an id, a name and a label for the outward and inward link relationship.
      Returns:
      a list of available issue link types.
    • createIssueLinkType

      @POST public javax.ws.rs.core.Response createIssueLinkType(IssueLinkTypeJsonBean linkTypeBean)
      Create a new issue link type.
    • getIssueLinkType

      @GET @Path("/{issueLinkTypeId}") public javax.ws.rs.core.Response getIssueLinkType(@PathParam("issueLinkTypeId") String issueLinkTypeIdString)
      Returns for a given issue link type id all information about this issue link type.
      Returns:
      returns information about an issue link type. Containing the id, name and inward and outward description for this link.
    • deleteIssueLinkType

      @DELETE @Path("/{issueLinkTypeId}") public javax.ws.rs.core.Response deleteIssueLinkType(@PathParam("issueLinkTypeId") String issueLinkTypeIdString)
      Delete the specified issue link type.
      Returns:
      Returns NO_CONTENT if successful.
    • updateIssueLinkType

      @PUT @Path("/{issueLinkTypeId}") public javax.ws.rs.core.Response updateIssueLinkType(@PathParam("issueLinkTypeId") String issueLinkTypeIdString, IssueLinkTypeJsonBean linkTypeJsonBean)
      Update the specified issue link type.