CSEL is unselected in UI for privileges created via script

Hello,

I’ve written a few Groovy scripts to automate setup tasks via Nexus3 script API.
For repository-content-selector privileges, I noticed that after creation by script the “Content Selector” is always unselected in the UI’s drop down:

It appears though that the privilege has been created just fine, it looks good when listed with a script.
It this a bug in my Groovy script or a problem with the Nexus UI?

I published the scripts on Github, including ‘run.sh’ which should help reproducing the issue.

Regards,
Roland

Can you please raise this as a bug on https://issues.sonatype.org in the “dev - nexus” project?

Rich

Done.
Should I always open Jira issues when encountering such oddities or better ask here first?

Regards,
Roland

If you’re not sure it’s fine to ask here first. But in cases where it’s pretty obviously a bug (like this one), please go ahead and just open an issue.

Regards,

Rich