Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22569

Ability to add/update the parent of a fork repository using the API

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Repository - Fork
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      The Update a repository API endpoint can be used to update the properties of a given repository.

      However, it's currently not possible to change/update the parent of a forked repository using that endpoint. When providing a value to the parent field, the value does not persist :

      curl -X PUT  -u username:app_password "https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>"
      -d '{
      "parent": {
              "type": "repository",
              "full_name": "workspace/repo_slug",
              "name": "repo_slug",
              "uuid": "{REPO_UUID}"
          }
      }'
      

      This feature request is to implement the ability to add/update the parent of a repository using the Update a repository API.

      Attachments

        Activity

          People

            Unassigned Unassigned
            641e77b2eb21 Patrik S
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: