Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

J Manas Kumar
Contributor
September 6, 2023 edited

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
atlassian, atlassian community, job interviews, interview tips, career advice, interview preparation, job search, interview experiences, hiring process, atlassian careers, community discussion, interview best practices

Interview Tips & Pet Peeves ✍️

Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.

Share you experiences!
AUG Leaders

Atlassian Community Events