Class MinimalChangeHistorySerializer

java.lang.Object
com.atlassian.jira.plugins.webhooks.serializer.issue.MinimalChangeHistorySerializer

@Component public class MinimalChangeHistorySerializer extends Object
  • Constructor Details

    • MinimalChangeHistorySerializer

      public MinimalChangeHistorySerializer(ChangeHistoryManager changeHistoryManager)
  • Method Details

    • build

      Try to find the ChangeHistoryBean corresponding to this IssueEvent. Our search strategy is: 1. If the IssueEvent had a changelog with it, then we try to match based on changelog id 2. Then we try to take the most recent changelog by the user who triggered the event 3. Final fall back is to just use the most recent changelog
      Parameters:
      issueEvent - the event whose change history bean you want to find
      Returns:
      the MinimalChangeHistoryBean corresponding to this IssueEvent