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

Not able to enable hooks using api

J Manas Kumar August 28, 2023

Hi Team, i am trying to enable the hooks in the project settings in bit bucket using api call.

while i am trying to enable it using below URI provided by bit bucket but not able to do it.

 'http://{baseurl}/rest/api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled'

 

but i am getting the below error(attached as image) .

but when i am enabling manually in bit bucket and disabling again, then i am calling the api, its enabling the hook settings.

don't know why it's happening.

BitBucket Version - 7.2.1

IMG-1641.jpg

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events