Hello,
I'm creating a Scriptrunner scripted field to list all linked issues of a certain type.
I have no problem getting the linked issues however I'm looking to sort the issue list by a specific field value and it looks to come back sorted by keys. How can I sort the returned list by a given field?
Im currently getting the list of linked issues using the issuelinkmanager. Is it possible to sort the returned list based on a certain issue field, like perhaps Sprint?
List<IssueLink> allOutIssueLink = ComponentAccessor.getIssueLinkManager().getOutwardLinks(issue.getId());