Scriptrunner - How to make custom script hook visible as an item


I'm just a admin for a Bitbucket/JIRA project and I miss the option to use custom script hooks in the scriptrunner BitBucket plugin. I don't have access to the administration of BitBucket. What needs to be done to make this custom script hook visible as an item in this view. 


1 answer

2 votes

Unfortunately this option is not available to repository or project level admins. This is because of security issues around non-admins writing custom scripts, which is explained here.

With that being said we're going to be working on a feature to allow admins to write a custom script and then the project or repo admin can enable it. Please see SRBITB-233 for further details of this and to keep an eye out for when it will be released.

Thanks for your reply. Now, I understand why it is not supported. I didn't know that killing the BitBucket instance would be possible by scripting.

In my situation the system admins don't have the knowledge of writing such scripts. And if I provide a ready to go script to the system admins it's not visible to me whether it has been activated for my repository or not. The simplest solution I would already agree is to show the Custom Hook script read-only to the repository owners in the same view where I can also edit my condition based hooks.

Nice, just stumbled on this answer, that's great news!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

465 views 8 27
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you