Warn on Issue Details Screen when Issue Is Unassigned

Use the following script in a ScriptRunner Show Web Panel to display a warning message on the issue details screen if the issue is unassigned.

Condition required on web panel config page: !issue.assignee