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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.