com.atlassian.jira.issue
Class IssueUtils
java.lang.Object
com.atlassian.jira.issue.IssueUtils
public class IssueUtils
- extends Object
Method Summary |
static void |
filterIssues(Collection issues,
Predicate<org.ofbiz.core.entity.GenericValue> 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. |
static org.ofbiz.core.entity.GenericValue |
setPriority(org.ofbiz.core.entity.GenericValue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
String priority)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTOMATIC_ASSIGNEE
public static final String AUTOMATIC_ASSIGNEE
- See Also:
- Constant Field Values
SEPERATOR_ASSIGNEE
public static final String SEPERATOR_ASSIGNEE
- See Also:
- Constant Field Values
log
protected static final org.apache.log4j.Logger log
IssueUtils
public IssueUtils()
filterIssues
public static void filterIssues(Collection issues,
Predicate<org.ofbiz.core.entity.GenericValue> 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 listfilter
- a predicate which evaluates to true when the issue is to be removed from the list.
setPriority
@Deprecated
public static org.ofbiz.core.entity.GenericValue setPriority(org.ofbiz.core.entity.GenericValue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
String priority)
throws org.ofbiz.core.entity.GenericEntityException
- Deprecated.
- Throws:
org.ofbiz.core.entity.GenericEntityException
hasTimeTracking
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
- Since:
- v3.11
Copyright © 2002-2012 Atlassian. All Rights Reserved.