title: Bitbucket WebHooks Jenkins Pipeline Trigger Payload
body: <p>We have a pipeline in Jenkins that we want to trigger upon creating\updating pull requests on a particular repository.</p>
  
  <p>There will be multiple branches for the repo such as feature\bugfix etc, so we configured the webhook trigger such that if a pull request is created or updated, the webhook triggers the pipeline from Bitbucket which includes the <strong>Payload</strong> data which in-turn includes the source and target branches that we need in the pipeline</p>
  
  <p>Now we want somehow that JSON payload data included in the Bitbucket's webhook to be parse into the pipeline and get the source and target branches in the pipeline. My question is what is way to get this job done?</p>
  
  <p>Thanks in advance.  </p>