Add feature to require comment on approval actions

Description

Add a configuration option to make comments mandatory when users approve or reject an item in Approval Path. This should be a toggle setting that admins can enable per step or globally. When enabled, the approval or rejection action should be blocked until a comment is entered by the user.

Change existing checkbox to Indeterminate checkbox allowing you to select both options


Accepted criteria

  • Setting available to require comment on approve/reject actions

  • Setting can be configured per approval step or globally

  • UI enforces comment entry when setting is enabled

  • Approval or rejection cannot proceed without a comment

  • Display proper validation message when comment is missing

For testing:
Test it for all steps that support it: user, email (web dashboard), group, user field, group field, email field steps and on dashboard view also for Jira with direct actions (Jira users that can make decision directly from email via dashboard)