@Deprecated @PublicSpi public abstract class


extends AbstractJiraCondition
   ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
     ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractIssueCondition

This class is deprecated.
Extend AbstractIssueWebCondition instead. Since v6.0.


This class is designed for plugins to implement.

Clients of @PublicSpi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicSpi as per each product's API policy (clients should refer to each product's API policy for the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).

Note: @PublicSpi interfaces and classes are specifically designed to be implemented/extended by clients. Hence, the guarantee of binary compatibility is different to that of @PublicApi elements (if an element is both @PublicApi and @PublicSpi, both guarantees apply).

Class Overview

Abstract condition for testing conditions on issues

An issue must be in the JiraHelper context params.


Public Constructors
Public Methods
boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
abstract boolean shouldDisplay(ApplicationUser user, Issue issue, JiraHelper jiraHelper)
Should we display this item for this issue?
Inherited Methods
From class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public AbstractIssueCondition ()

Public Methods

public boolean shouldDisplay (ApplicationUser user, JiraHelper jiraHelper)

public abstract boolean shouldDisplay (ApplicationUser user, Issue issue, JiraHelper jiraHelper)

Should we display this item for this issue?

user The current user
issue The issue we are displaying against
jiraHelper The JiraHelper
  • true if we should display this item, false otherwise