def run(self, repo, service, url):
        bb = self._get_client(repo=repo)
        success, result = bb.service.create(
            service=service,
            URL=url
        )
        return result
Create a service/hook
dataset/ETHPy150Open StackStorm/st2contrib/packs/bitbucket/actions/create_service.py/CreateServiceAction.run