We have a use case that I need some help with.
With 'Create Constrained Issue' (today we use this with Exocet) we push a button in a Jira issue to get a new create screen. There we can create a issue in a different project.
In that create issue screen we want to be able to filter out which projects that are chooseable from the dropdown menu so we don't get all projects the user have access to. E.g. if we push "Send to vendor" button, we want to be able to filter so only vendor-projects are show in the projects dropdown menu.
I know we can limit access to the projects them selves, but we want the users to have access to the projects for different reasons.
Is it any way to use Scriptrunner's Behaviour for example for this? Groovy code to limit the projects shown in the "Project" dropdown menu on the create screen? Same with issue-type..