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

How to call another custom API using Script Runner Listener in Bitbucket

J Manas Kumar
Contributor
September 6, 2023

Hi Team,

 

i am trying to call another Custom API URL which will help me to fetch some data for validation and help me to stop the unidentified commit in bitbucket.

but using webHook i cant get that, as webhook works after commit and before Merge.

using Hooks also i am not able to call  another custom API while  committing anything to branch.

so thinking to use script runner custom listener in bit bucket, which will be executing at the time of commit and call another API and get the proper data to validate the commit.

if it's good it will pass or show the error message at the run time.

just trying to think that is it possible to use Script Runner Custom Listener to call a custom API from Bitbucket?

any suggestions will be much helpful.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events