public interface

WatchedIssuesAccessor

com.atlassian.jira.issue.watchers.WatchedIssuesAccessor
Known Indirect Subclasses

Class Overview

Get all issue ids someone is watching.

Summary

Nested Classes
enum WatchedIssuesAccessor.Security  
Public Methods
@Nonnull Iterable<Long> getWatchedIssueIds(ApplicationUser watcher, ApplicationUser searcher, WatchedIssuesAccessor.Security security)
Get the issues a particular user is watching.
boolean isWatchingEnabled()

Public Methods

@Nonnull public Iterable<Long> getWatchedIssueIds (ApplicationUser watcher, ApplicationUser searcher, WatchedIssuesAccessor.Security security)

Get the issues a particular user is watching.

Parameters
watcher the user whose watches we are searching for.
searcher the user who is searching for the watched issues.
security whether to respect or override security.
Returns
  • the ids of the found issues.

public boolean isWatchingEnabled ()