Hi, I was trying to follow the instructions on https://scriptrunner.adaptavist.com/latest/bitbucket/intellij-integration.html#_developing_with_intellij_idea to setup the intellij IDEA integration for a Bitbucket server instance and realized that even though I was looking at the BB docuementation, this info was referring to JIRA.
And adding the following to the end of the Bitbucket URL, does not work.
Please let me know how I can start using this integration for custom scripts we need to write for Bitbucket. We are in the process of purchasing the Bitbucket Scriptrunner plugin.
Apologies for that, we'll fix the instructions for Bitbucket shortly.
To get the IDEA integration working you need to first follow the instructions here to download IDEA and install the ScriptRunner plugin. After that is done restart IDEA.
You then need to enable the IDEA integration in Bitbucket by setting the following JVM option:
You should have a setenv.sh file located where Bitbucket Server is installed.
You'll need to locate the following line in setenv.sh:
This should be changed to:
After this restart Bitbucket Server for the change to take effect.
You then need to do the following steps:
Once that is done you can type something in the script that is open in IDEA and it should be reflected back in the browser.
Hope this helps.
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG