// Reopen issues that are marked as resolved but that are still alive.
// Manual issues are kept resolved.
.transition(Transition.builder("automaticreopen")
.from(Issue.STATUS_RESOLVED).to(Issue.STATUS_REOPENED)
.conditions(new IsEndOfLife(false), new HasResolution(Issue.RESOLUTION_FIXED), new IsManual(false))
.functions(new SetResolution(null), new SetCloseDate(false))
.automatic()
.build()
);
}