Add Support for Additional Webhook Parameters in addition to the the Existing Ones

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Webhooks
    • None

      Currently Bitbucket webhook supports below parameters that can passed as URL variables

      URL variables Can be used with
      project.key All events
      repo.slug Repository and pull request events
      repo.ref.branchName Repository push events
      pr.fromRef.branchName Pull request events
      pr.toRef.branchName Pull request events

      Add additional parameters to the native webhooks similiar to the one provided by the now deprecated plugin Parameterized Builds for Jenkins
      Since the plugin is now deprecated, many customers might want to use the native webhooks as an alternative.

      Below is list of parameters from the plugin

      Bitbucket variables: $BRANCH, $COMMIT, $REPOSITORY, $PROJECT, $TRIGGER (for PR triggers also $PRID, $PRTITLE, $PRDESTINATION, $PRAUTHOR, $PREMAIL, $PRDESCRIPTION, $PRURL, $PRUSERRNAME, $PRSOURCEPROJECT, $PRSOURCEREPOSITORY, and for PR MERGED triggers $MERGECOMMIT))

            Assignee:
            Unassigned
            Reporter:
            Karthik Mahesh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: