I was evaluating Scriptrunner for Stash without issues and after upgrade to Bitbucket Server, I discovered that the default scripts directory is not recognized any longer. I get this message now when associating a script: "You need to configure at least one alternate resource directory before using a web-resource, see the documentation".
I looked through the documentation and cannot find a solution. I am using the same scripts directory as before.
Have you seen our documentation here about what you need to do when you upgrade to Bitbucket Server from Stash?
You also likely need to set the script roots directory please see here for how to do that. Its for JIRA but the same applies for Bitbucket too.
Are you using any script fragments web resources like here? You usually see that message when you try and use one of them but haven't set your plugin.resource.directories. Try setting that and the error message should go away.
In the future can you tag your question with: "com.onresolve.jira.stash.groovyrunner". Its more likely to get a faster reply compared to using the generic scriptrunner tag.
Hey Community! I work on the Bitbucket product marketing team. With Halloween approaching, we wanted to discuss a topic tailor-made for October: development horror stories. Whether it was a lurk...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events