I have an use case where I need to Trigger the Bit-Bucket Custom Pipeline with JSON values which is currently fed from the default inbuild Bit Bucket UI , from an external hosted UI using BitBucket APIs.
Current Flow:
Default BitBucket UI captures input -> Variables passed to Custom Pipeline -> Run Pipeline
My Use Case:
External UI -> Calls BitBucket API -> Triggers custom pipeline with the passed variables
Please let me know the best way to achieve my use case and what are the APIs in Bitbucket that can help.