I am trying to use this option to tailor down the custom fields which are shown in an issue based on the options which are selected inside of that issue (e.g. if "Priority" == 'Major' show custom field "test1").
What would be the best way to do it? Using workflow transitions and screens or can a script be written to show a specific field when "Priority" is 'Major', and then to hide that one and show another one when it changes to 'Medium'?
Jira 8.2.4, Scriptrunner 5.5.9.1