public class

IssueLinkTypeResource

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

Class Overview

Rest resource to retrieve a list of issue link types.{com.atlassian.jira.issue.link.IssueLinkType}

Summary

Public Constructors
IssueLinkTypeResource(IssueLinkTypeService issueLinkTypeService, JiraAuthenticationContext authenticationContext, I18nHelper i18n, ContextUriInfo contextUriInfo, RestUrlBuilder restUrlBuilder)
Public Methods
Response createIssueLinkType(IssueLinkTypeJsonBean linkTypeBean)
Create a new issue link type.
Response deleteIssueLinkType(String issueLinkTypeIdString)
Delete the specified issue link type.
Response getIssueLinkType(String issueLinkTypeIdString)
Returns for a given issue link type id all information about this issue link type.
Response getIssueLinkTypes()
Returns a list of available issue link types, if issue linking is enabled.
Response updateIssueLinkType(String issueLinkTypeIdString, IssueLinkTypeJsonBean linkTypeJsonBean)
Update the specified issue link type.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IssueLinkTypeResource (IssueLinkTypeService issueLinkTypeService, JiraAuthenticationContext authenticationContext, I18nHelper i18n, ContextUriInfo contextUriInfo, RestUrlBuilder restUrlBuilder)

Public Methods

public Response createIssueLinkType (IssueLinkTypeJsonBean linkTypeBean)

Create a new issue link type.

public Response deleteIssueLinkType (String issueLinkTypeIdString)

Delete the specified issue link type.

Returns
  • Returns NO_CONTENT if successful.

public Response getIssueLinkType (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.

public 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.

public Response updateIssueLinkType (String issueLinkTypeIdString, IssueLinkTypeJsonBean linkTypeJsonBean)

Update the specified issue link type.