public class

IssueUtils

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.IssueUtils

Summary

Constants
String AUTOMATIC_ASSIGNEE
String SEPERATOR_ASSIGNEE
Fields
protected static final Logger log
Public Constructors
IssueUtils()
Public Methods
static void filterIssues(Collection<Issue> issues, Predicate<Issue> filter)
Filters a list of issues based on the type of IssueFilter passed in
static boolean hasTimeTracking(Issue issue)
Does an issue have timetracking data, only makes sense if time tracking is turned on.
@Deprecated static GenericValue setPriority(GenericValue issue, User remoteUser, String priority)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String AUTOMATIC_ASSIGNEE

Constant Value: "-1"

public static final String SEPERATOR_ASSIGNEE

Constant Value: "-2"

Fields

protected static final Logger log

Public Constructors

public IssueUtils ()

Public Methods

public static void filterIssues (Collection<Issue> issues, Predicate<Issue> filter)

Filters a list of issues based on the type of IssueFilter passed in

Parameters
issues The list of issues. Any issues to be filtered will be removed from this list
filter a predicate which evaluates to true when the issue is to be removed from the list.

public static boolean hasTimeTracking (Issue issue)

Does an issue have timetracking data, only makes sense if time tracking is turned on.

Parameters
issue the issue.
Returns
  • true if the issue has any time tracking information

@Deprecated public static GenericValue setPriority (GenericValue issue, User remoteUser, String priority)

Throws
GenericEntityException