public class

LinkedIssuesFunction

extends AbstractJqlFunction
implements ClauseSanitisingJqlFunction
java.lang.Object
   ↳ com.atlassian.jira.plugin.jql.function.AbstractJqlFunction
     ↳ com.atlassian.jira.plugin.jql.function.LinkedIssuesFunction

Class Overview

Returns the issue ids of issues linked to the specified issue which the user can see.

This function can only be used if Issue Linking is enabled.

Function usage: linkedIssues ( issuekey [, linkDescription ]* )

Summary

Constants
String FUNCTION_LINKED_ISSUES
Public Constructors
LinkedIssuesFunction(JqlIssueSupport jqlIssueSupport, IssueLinkTypeManager issueLinkTypeManager, IssueLinkManager issueLinkManager, PermissionManager permissionManager)
Public Methods
JiraDataType getDataType()
int getMinimumNumberOfExpectedArguments()
List<QueryLiteral> getValues(QueryCreationContext queryCreationContext, FunctionOperand operand, TerminalClause terminalClause)
FunctionOperand sanitiseOperand(ApplicationUser searcher, FunctionOperand operand)
Sanitise a function operand for the specified user, so that information is not leaked.
MessageSet validate(ApplicationUser searcher, FunctionOperand operand, TerminalClause terminalClause)
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.jql.function.AbstractJqlFunction
From class java.lang.Object
From interface com.atlassian.jira.plugin.jql.function.ClauseSanitisingJqlFunction
From interface com.atlassian.jira.plugin.jql.function.JqlFunction

Constants

public static final String FUNCTION_LINKED_ISSUES

Constant Value: "linkedIssues"

Public Constructors

public LinkedIssuesFunction (JqlIssueSupport jqlIssueSupport, IssueLinkTypeManager issueLinkTypeManager, IssueLinkManager issueLinkManager, PermissionManager permissionManager)

Public Methods

public JiraDataType getDataType ()

public int getMinimumNumberOfExpectedArguments ()

public List<QueryLiteral> getValues (QueryCreationContext queryCreationContext, FunctionOperand operand, TerminalClause terminalClause)

public FunctionOperand sanitiseOperand (ApplicationUser searcher, FunctionOperand operand)

Sanitise a function operand for the specified user, so that information is not leaked.

Parameters
searcher the user performing the search
operand the operand to sanitise; will only be sanitised if valid
Returns
  • the sanitised operand; never null.

public MessageSet validate (ApplicationUser searcher, FunctionOperand operand, TerminalClause terminalClause)