Class IssueUtils

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

public class IssueUtils extends Object
  • Field Details

  • Constructor Details

    • IssueUtils

      public IssueUtils()
  • Method Details

    • filterIssues

      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.
    • setPriority

      @Deprecated public static org.ofbiz.core.entity.GenericValue setPriority(org.ofbiz.core.entity.GenericValue issue, ApplicationUser 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