Class IssueLinkTypeFinderImpl

java.lang.Object
com.atlassian.jira.issue.fields.rest.IssueLinkTypeFinderImpl
All Implemented Interfaces:
IssueLinkTypeFinder

public final class IssueLinkTypeFinderImpl extends Object implements IssueLinkTypeFinder
This "finder" class is used to find issue link types based on 'id' or 'name'.
Since:
v5.0
  • Constructor Details

  • Method Details

    • findIssueLinkType

      public IssueLinkType findIssueLinkType(IssueLinkTypeJsonBean linkTypeBean, ErrorCollection errors)
      Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property of linkTypeBean. If the link type does not exist, the appropriate error will be added to the errors parameter (and the return value will be null).
      Specified by:
      findIssueLinkType in interface IssueLinkTypeFinder
      Parameters:
      linkTypeBean - the IssueLinkTypeJsonBean
      errors - a SimpleErrorCollection
      Returns:
      an IssueLinkType, or null