Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Dark Features in Bitbucket

Hi Atlassian team, 

I was very excited about the IntelliJ integration plugin for Scriptrunner. I can see it is available for Jira, but I see no mention of it for Bitbucket. I can't reach the Dark Feature page for Bitbucket. It does not exist for this environment?

Thanks

1 answer

Hi, Francisco!

You can resolve it by passing parameters to JVM (-Datlassian.darkfeature.scriptrunner.idea.external.editor.enabled) in a file _start-webapp.sh (Linux/Mac) or _start-webapp.bat (Windows) in the bin directory of Bitbucket (don't forget to set scripts root with -Dplugin.resource.directories).

For example, replace 

BITBUCKET_ARGS="-Datlassian.standalone=BITBUCKET -Dbitbucket.home=$BITBUCKET_HOME -Dbitbucket.install=$INST_DIR"

with

BITBUCKET_ARGS="-Datlassian.standalone=BITBUCKET -Dbitbucket.home=$BITBUCKET_HOME -Dbitbucket.install=$INST_DIR -Dplugin.resource.directories=/var/atlassian/application-data/bitbucket/shared/scripts -Datlassian.darkfeature.scriptrunner.idea.external.editor.enabled=true"

in the file and restart the Bitbucket service.

Did anyone get this to work in Bitbucket Server 6.6.1? When i specify both JVM parameters, the IntelliJ Icon doesn't show up next to the Script Console.

Furthermore the official documentations link (https://scriptrunner.adaptavist.com/5.6.3.1-bbs6/bitbucket/intellij-integration.html) brings me to the main documentation overview page which doesn't help. Is there something I'm missing?

Also the old link from the 5.3.8 scriptrunner documentation referred to "/secure/admin/SiteDarkFeatures!default.jspa" which doesn't work any more.

 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

209 views 2 5
Read article

Community Events

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

Events near you