public void setPrioritizedRule(DefaultIssue issue, boolean prioritizedRule, IssueChangeContext context) {
    if (!Objects.equals(prioritizedRule, issue.isPrioritizedRule())) {
      issue.setPrioritizedRule(prioritizedRule);
      if (!issue.isNew()){
        issue.setUpdateDate(context.date());
        issue.setChanged(true);
      }
    }
  }
@Test
  void setPrioritizedRule_whenNotChanged_shouldNotUpdateIssue() {
    issue.setPrioritizedRule(true);
    underTest.setPrioritizedRule(issue, true, context);
    assertThat(issue.isChanged()).isFalse();
    assertThat(issue.isPrioritizedRule()).isTrue();
  }