Implement a new step type for voting process

Description

Add a new voting step type that allows selection of a group, which may include predefined Jira groups or later support for definition-based groups. The group can cast votes, to user-defined answer options. We enable single or multi choice answers.

The step requires configuring a moderator user, influencing the finalization process - moderator approves or rejects the step.

The step may also have an expiry date after which voting is disabled. Moderator gets notified about ending of voting process and that he needs to finalize the step. Same if all users from group voted.

When placed within a definition with more steps, rejection finalizes the approval path, while other outcomes do not.

Edit: Under this task, the create/edit definition view was also redesigned so please test it also.


Accepted criteria

  • Implement a new step type for voting with group selection
  • Group users can cast votes for each defined option
  • Moderator assignment is necessary for step finalization
  • Enable configuration of an expiry date for voting
  • Ensure rejection finalizes the approval path when used in a definition with multiple steps
  • The path remains ongoing if the step is approved while part of a definition with additional steps.