Class HitCollectorUtil

java.lang.Object
com.atlassian.jira.issue.statistics.util.HitCollectorUtil

public class HitCollectorUtil extends Object
Has some utility methods that the hit collectors can use.
Since:
v4.0
  • Constructor Details

    • HitCollectorUtil

      public HitCollectorUtil()
  • Method Details

    • getFieldId

      public String getFieldId(String documentConstant)
      Translates between a known set of document id's to field id's that can be used to check visiblity.

      This method will turn any custom field id's such as customfield_10000_RAW into customfield_10000.

      Parameters:
      documentConstant - the value to transform into a field id
      Returns:
      the field id for the passed document constant