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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Why can't I make a custom pre-hook in a project

Hello, I am trying to make a custom pre-receive hook but I can't make a custom pre-hook in a project I created, I can only do a custom pre-hook if I am at the base of my BB, making it really difficult to test my pre-hook since a lot of users will be impacted. Is there something I am missing ?

1 answer

0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 06, 2023

Hi @Margaria Vince you can do this at the Project or even Repository Level.  Go to Admin in the Project then Scriptrunner then Pre-Hooks

Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 06, 2023

Here's a reference for you

Screenshot 2023-02-06 121255.png

Hello, it seems you did not understand my problem so I took a screenshot, whenever I am in a project, I don't have the option to create a custom pre-hook, but If I go to the root (where all the pre-hooks for every project are) I can create a custom pre-hook.

 

 

 

no_custom.PNG

Hi @Margaria Vince 

ScriptRunner scripts for Project and Repository level, are running in restricted sandboxed environment, see https://docs.adaptavist.com/sr4bib/latest/get-started/settings/admin-only-project-and-repository-script-access

 

This also means that some features are only available in a Global level, and cannot be set in a repository or project level, for a full list of these features, you can have a look at https://docs.adaptavist.com/sr4bib/latest/get-started/permissions

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events