@PublicSpi public abstract class AbstractIssueWebCondition extends AbstractWebCondition
Conditions that are aware of JIRA's authentication and project- or issue-related contexts. These can be used in action configurations to guard conditionally displayed content.
An issue must be in the JiraHelper context params.
|Constructor and Description|
|Modifier and Type||Method and Description|
Should we display this item for this issue?
getApplicationUser, init, shouldDisplay
public boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
public abstract boolean shouldDisplay(ApplicationUser user, Issue issue, JiraHelper jiraHelper)
user- The current user
issue- The issue we are displaying against
jiraHelper- The JiraHelper
Copyright © 2002-2020 Atlassian. All Rights Reserved.