Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19765

Provide public REST API to attach files to pull requests

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • API - REST
    • None
    • 2
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      We used to use /projects/PROJECT_1/repos/rep_1/attachments to upload attachments to a repository so that we could attach these attachments to comments on a pull request. As of 8.19.12, this endpoint no longer accepts PAT/HTTP Access Tokens and instead returns a 401 and increments the captcha counter for the associated user account.

      Please release a public API version of this endpoint for integration. My end users had been integrating it for several reasons:

      The files are uploaded to the PR as an attachment for convenient review. I can think of several other ways to make this information available if necessary, but this was very convenient.

              Unassigned Unassigned
              fe556f1d097e Steven Behnke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: