Hi,
In task workflow after Inprogress state we have Done state and transition is Finish.

We have setup Finish screen in Finish transition. We have to set up a validator showing some fields are mandatory before moving issue to Done state. We have created the validator using Custom script validator Scriptrunner the error message is coming in Finish screen.

But we want to show this validator message in issues view screen not in Finish screen, as the mandatory fields are in view screen tab not listed in finish screen.