I want Custom Field to appear on this issue view screen depending on the issue type.
For example, if the issue type is Bug, only custom field A is shown on the issue view screen, and if the issue type is Task, only custom field B is shown on the issue view screen.
How can I implement this?
I have Scriptrunner .