Hello,
We are currently using ScriptRunner behaviors to enable them for 1 or 2 projects by mapping those projects to the created behaviors specifically. Or we can enable them to be mapped to All Projects.
But now we want to map some behaviors to all projects except from the 2 projects.
Can someone please provide any suggestion on how this can be done?
You could use the IssueContext to get the project, such as:
if (getIssueContext().getProjectObject().getKey() in ["FORBIDDEN", "KEYS"])
return
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.