com.atlassian.jira.rest.v2.issue
Class IssueLinkTypeResource

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

public class IssueLinkTypeResource
extends Object

Rest resource to retrieve a list of issue link types.

Since:
v4.3

Constructor Summary
IssueLinkTypeResource(IssueLinkTypeManager issueLinkTypeManager, ApplicationProperties applicationProperties, ContextI18n i18n, ContextUriInfo contextUriInfo, com.atlassian.plugins.rest.common.util.RestUrlBuilder restUrlBuilder)
           
 
Method Summary
 javax.ws.rs.core.Response getIssueLinkType(String issueLinkTypeIdString)
          Returns for a given issue link type id all information about this issue link type.
 javax.ws.rs.core.Response getIssueLinkTypes()
          Returns a list of available issue link types, if issue linking is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueLinkTypeResource

public IssueLinkTypeResource(IssueLinkTypeManager issueLinkTypeManager,
                             ApplicationProperties applicationProperties,
                             ContextI18n i18n,
                             ContextUriInfo contextUriInfo,
                             com.atlassian.plugins.rest.common.util.RestUrlBuilder restUrlBuilder)
Method Detail

getIssueLinkTypes

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.

getIssueLinkType

public javax.ws.rs.core.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.


Copyright © 2002-2013 Atlassian. All Rights Reserved.