...
- restrict some users visibility on issue fields or tabs (show/hide or enable/disable them);
- restrict some options from the potential values of a custom field;
- change issues fields values automatically when a field value changes;
- display some field messages or dialog messages;
- want to execute your own javascript code.
...