Class UpdateHistoryAccessor

java.lang.Object
com.atlassian.jira.issue.changehistory.UpdateHistoryAccessor

public class UpdateHistoryAccessor extends Object
Searches indices for changes performed by a given user within given time
Since:
v7.4
  • Constructor Details

  • Method Details

    • searchForIssues

      public Set<String> searchForIssues(List<String> userIds, DateRange fromDate, DateRange toDate, QueryCreationContext queryCreationContext)
      Searches the changes index and the comments index for items affected by given user (that is, changes performed by user and comments created/updated/deleted by user). Returns ids of issues to which the found items refer to. Both date parameters are optional, and limit search to changes/comments created after fromDate or before toDate(inclusively for both parameters)
      Parameters:
      userIds - ids of user performing the changes/creating the comments
      fromDate - limits search to comments/changes performed after given date
      toDate - limits search to comments/changes performed before given date
      queryCreationContext - used for permission subqueries
      Returns:
      ids of issues to which the found items refer to.