how can I hide some issue type in the button what created by scriptrunner.
I need to keep only sub-bug and test types.
Script fragments
Link
/secure/CreateSubTaskIssue!default.jspa?parentIssueId=${issue.id}&issuetype=10003 - only one type
/secure/CreateSubTaskIssue!default.jspa?parentIssueId=${issue.id} - all issue types