{
  "key": "com.bit-booster.bb",
  "baseUrl": "https://pr.bit-booster.com/",
  "name": "PR-Booster For Bitbucket",
  "description": "Rebase, squash, amend, cherry-pick and revert. Directly from Bitbucket",
  "vendor": {
    "name": "Bit-Booster Software",
    "url": "https://bit-booster.com/"
  },
  "version": "202501300",
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "modules": {
    "webhooks": [
      {
        "event": "pullrequest:updated",
        "url": "/pullrequest/updated?ver=202501300"
      },
      {
        "event": "pullrequest:created",
        "url": "/pullrequest/created?ver=202501300"
      },
      {
        "event": "pullrequest:fulfilled",
        "url": "/pullrequest/fulfilled?ver=202501300"
      },
      {
        "event": "repo:push",
        "url": "/repo/push?ver=202501300"
      },
      {
        "event": "repo:updated",
        "url": "/repo/updated?ver=202501300"
      },
      {
        "event": "repo:commit_status_created",
        "url": "/repo/commit/status/created?ver=202501300"
      },
      {
        "event": "repo:commit_status_updated",
        "url": "/repo/commit/status/updated?ver=202501300"
      },
      {
        "event": "project:updated",
        "url": "/project/updated?ver=202501300"
      }
    ],
    "configurePage": {
      "url": "/workspace/general?target_user_uuid={target_user.uuid}&user_uuid={user.uuid}",
      "name": {
        "value": "General"
      },
      "key": "repo-pr-booster-configure-page",
      "weight": 1
    },
    "adminPages": [
      {
        "url": "/repository/settings/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&user_uuid={user.uuid}",
        "location": "org.bitbucket.repository.admin",
        "name": {
          "value": "Repository Settings"
        },
        "key": "repo-pr-booster-repo-admin-page"
      },
      {
        "url": "/workspace/settings?target_user_uuid={target_user.uuid}&user_uuid={user.uuid}",
        "location": "org.bitbucket.account.admin",
        "name": {
          "value": "Workspace Settings"
        },
        "key": "repo-pr-booster-workspace-admin-page",
        "weight": 200
      },
      {
        "url": "/project/settings/?target_user_uuid={target_user.uuid}&user_uuid={user.uuid}",
        "location": "org.bitbucket.account.admin",
        "name": {
          "value": "Projects Settings"
        },
        "key": "repo-pr-booster-project-admin-page",
        "weight": 100
      }
    ],
    "webPanels": [
      {
        "url": "/pullrequest/summary/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&pullrequest_id={pullrequest.id}&user_uuid={user.uuid}",
        "location": "org.bitbucket.pullrequest.overview.informationPanel",
        "name": {
          "value": "PR Booster"
        },
        "key": "bb-pr-booster-pullrequest-summary-web-panel",
        "weight": 1,
        "tooltip": {
          "value": "PR Booster pull request Amend Squash and Rebase"
        }
      }
    ],
    "webItems": [
      {
        "url": "/pullrequest/actions/main/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&pullrequest_id={pullrequest.id}&user_uuid={user.uuid}",
        "location": "org.bitbucket.pullrequest.summary.actions",
        "name": {
          "value": "PR Booster"
        },
        "key": "bb-pr-booster-pullrequest-summary-actions-main",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1000,
        "tooltip": {
          "value": "PR Booster pull request Amend Squash and Rebase"
        }
      },
      {
        "url": "/pullrequest/actions/main/amend/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&pullrequest_id={pullrequest.id}&user_uuid={user.uuid}",
        "location": "org.bitbucket.pullrequest.summary.actions",
        "name": {
          "value": "    Amend"
        },
        "key": "bb-pr-booster-pullrequest-summary-actions-main-amend",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1001,
        "tooltip": {
          "value": "Amend top commit on a pull request"
        }
      },
      {
        "url": "/pullrequest/actions/main/rebase/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&pullrequest_id={pullrequest.id}&user_uuid={user.uuid}",
        "location": "org.bitbucket.pullrequest.summary.actions",
        "name": {
          "value": "    Rebase"
        },
        "key": "bb-pr-booster-pullrequest-summary-actions-main-rebase",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1002,
        "tooltip": {
          "value": "Rebase commits on a branch to the top of destination branch"
        }
      },
      {
        "url": "/pullrequest/actions/main/squash/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&pullrequest_id={pullrequest.id}&user_uuid={user.uuid}",
        "location": "org.bitbucket.pullrequest.summary.actions",
        "name": {
          "value": "    Squash"
        },
        "key": "bb-pr-booster-pullrequest-summary-actions-main-squash",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1003,
        "tooltip": {
          "value": "Squash commits on a pull request"
        }
      },
      {
        "url": "/branch/list/actions/main?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.list.actions",
        "name": {
          "value": "PR Booster"
        },
        "key": "bb-pr-booster-branch-list-actions",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1000,
        "tooltip": {
          "value": "PR Booster pull request Amend Squash and Rebase"
        }
      },
      {
        "url": "/branch/list/actions/main/amend/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.list.actions",
        "name": {
          "value": "    Amend"
        },
        "key": "bb-pr-booster-branch-list-actions-amend",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1001,
        "tooltip": {
          "value": "Amend top commit on a pull request"
        }
      },
      {
        "url": "/branch/list/actions/main/rebase/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.list.actions",
        "name": {
          "value": "    Rebase"
        },
        "key": "bb-pr-booster-branch-list-actions-rebase",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1002,
        "tooltip": {
          "value": "Rebase commits on a branch to the top of destination branch"
        }
      },
      {
        "url": "/branch/list/actions/main/squash/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.list.actions",
        "name": {
          "value": "    Squash"
        },
        "key": "bb-pr-booster-branch-list-actions-squash",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1003,
        "tooltip": {
          "value": "Squash commits on a pull request"
        }
      },
      {
        "url": "/branch/summary/actions/main?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.summary.actions",
        "name": {
          "value": "PR Booster"
        },
        "key": "bb-pr-booster-branch-summary-actions",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1000,
        "tooltip": {
          "value": "PR Booster pull request Amend Squash and Rebase"
        }
      },
      {
        "url": "/branch/summary/actions/main/amend/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.summary.actions",
        "name": {
          "value": "    Amend"
        },
        "key": "bb-pr-booster-branch-summary-actions-amend",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1001,
        "tooltip": {
          "value": "Amend top commit on a pull request"
        }
      },
      {
        "url": "/branch/summary/actions/main/rebase/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.summary.actions",
        "name": {
          "value": "    Rebase"
        },
        "key": "bb-pr-booster-branch-summary-actions-rebase",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1002,
        "tooltip": {
          "value": "Rebase commits on a branch to the top of destination branch"
        }
      },
      {
        "url": "/branch/summary/actions/main/squash/?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&branch={branch.name}&user_uuid={user.uuid}",
        "location": "org.bitbucket.branch.summary.actions",
        "name": {
          "value": "    Squash"
        },
        "key": "bb-pr-booster-branch-summary-actions-squash",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1003,
        "tooltip": {
          "value": "Squash commits on a pull request"
        }
      },
      {
        "url": "/commit/summary/actions/main?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&commit_hash={commit.hash}&user_uuid={user.uuid}",
        "location": "org.bitbucket.commit.summary.actions",
        "name": {
          "value": "PR Booster"
        },
        "key": "bb-pr-booster-commit-summary-actions",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1001,
        "tooltip": {
          "value": "PR Booster commit Cherry Pick and Revert"
        }
      },
      {
        "url": "/commit/summary/actions/main/cherryPick?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&commit_hash={commit.hash}&user_uuid={user.uuid}",
        "location": "org.bitbucket.commit.summary.actions",
        "name": {
          "value": "    Cherry Pick"
        },
        "key": "bb-pr-booster-commit-summary-actions-cherrypick",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1002,
        "tooltip": {
          "value": "Cherry Pick Commit"
        }
      },
      {
        "url": "/commit/summary/actions/main/revert?target_user_uuid={target_user.uuid}&target_repo={repository.uuid}&commit_hash={commit.hash}&user_uuid={user.uuid}",
        "location": "org.bitbucket.commit.summary.actions",
        "name": {
          "value": "    Revert"
        },
        "key": "bb-pr-booster-commit-summary-actions-Revert",
        "target": {
          "type": "dialog",
          "options": {
            "height": "560px",
            "width": "850px"
          }
        },
        "weight": 1003,
        "tooltip": {
          "value": "Revert Commit"
        }
      }
    ]
  },
  "scopes": [
    "project:write",
    "repository:write",
    "pullrequest:write",
    "account",
    "repository"
  ],
  "contexts": [
    "account"
  ]
}
