Require Comment For Action
Conditions can also be set based on workflow transitions or states. In the following example, we show you how to make the comment field required when an issue is moved from Done to Reopened.
Tip: Workflow functions
If you want more information about workflow functions and ScriptRunner workflow functions, check out our Workflow Functions Tutorial
You can test to see if this behaviour works. The comment field will display as required when a completed issue is reopened. The field will also display a warning if a user tries to transition the issue without adding a comment.