Class IssueLinkDisplayHelper

java.lang.Object
com.atlassian.jira.issue.link.IssueLinkDisplayHelper

public class IssueLinkDisplayHelper extends Object
A simple helper class to help out in how we display issues links
Since:
v4.4
  • Constructor Details

  • Method Details

    • getSortedIssueLinkTypes

      public Collection<String> getSortedIssueLinkTypes(Collection<IssueLinkType> linkTypes)
      Sorts the link types into a list of strings (for a combo box) sorted in previous usage order
      Parameters:
      linkTypes - the collection of link types to sort
      Returns:
      the list of link types sorted by previous preference
    • getLastUsedLinkType

      public String getLastUsedLinkType()
      Returns:
      the issue link type that was last used by this user