Enter “issue.status.name == "In Progress" in the Jira Expression field.
Enter the message that you want the users to see when they try to transition to Done from a status other than “In Progress“. For example: “The issue needs work.”
Click Add
Image Removed
Image Added
Image Removed
Image Added
Step 3
Remember to publish your workflow. It is always recommended to save a backup of the previous workflow when prompted.
Go to any issue in a status other than “In Progress“
Try transitioning the issue to Done status, you should see the above-configured error message.