public class

IsIssueReportedByCurrentUserCondition

extends AbstractIssueCondition
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
     ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractIssueCondition
       ↳ com.atlassian.jira.plugin.webfragment.conditions.IsIssueReportedByCurrentUserCondition

Class Overview

Condition to check whether the current user reported the current issue

An issue must be in the JiraHelper context params.

Summary

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

Public Constructors

public IsIssueReportedByCurrentUserCondition ()

Public Methods

public boolean shouldDisplay (User user, Issue issue, JiraHelper jiraHelper)

Should we display this item for this issue?

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