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

Hello,

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. 

image.png  

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

826 views 2 9
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