From ScriptRunner Behaviour we set a multi-select Assets field read-only depending on user role etc but it is still possible to remove values (not add though). It is not like this if I deselect the "Multiple" option in the configuration for the field. Why is this? How do I make the field read-only so that no values can be removed?
I don't think this is possible.
My assumption Asset multi select is not related to the behaviour set in scriptrunner, unless you specify the possible selectable options.
But to be certain on your options, you might want to revert this question to scriptrunner support.
Hello @Magnus Ljungkrantz
What version of Jira are you using?
What version of the ScriptRunner plugin are you using?
Can you share with us your code?
What configuration options have you set in the Behaviour?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.