Hi,
I'm trying to create a pull request for a Bitbucket cloud repo but I get this error:
➞ acli --action createPullRequest --repository "non-pci-terraform" --project " Infrastructure" --name "SPAY-2064 test create PR from CLI" --from "SPAY-2064-sftp-set-up-for-nets" --to "main" --reviewers "John Doe" --description "test"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
✔ Would you like to run or copy the command? (escape or ctrl-c to quit) · Run / Copy
Invalid action: createPullRequest. Use --action "?" or --action "<prefix>?" to get a list of actions.
› Error: Command failed with exit code 254: /home/jat/ACLI/acli --action createPullRequest --repository non-pci-terraform --project Infrastructure --name SPAY-2064 test create PR
› from CLI --from SPAY-2064-sftp-set-up-for-nets --to main --reviewers John Doe --description test
My environment is running Linux Mint.
My bad I realise now this action isn't supported in bitbucket cloud - any chance it will be in the near future?
Hi @jat_softpay ,
Currently, there is no REST API to create pull requests in the Bitbucket cloud, as we use the Atlassian REST APIs to implement the actions, the same is not supported using our app Bitbucket Command Line Interface.
Please refer the below Atlassian feature request on the same.
https://jira.atlassian.com/browse/BCLOUD-16682
Once the API is available, the action can be implemented from our app.
We have created a support request https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-7165 to better track your request. However, we couldn't add you as a reporter. Please sign up using this link https://beecom-products.atlassian.net/servicedesk/customer/portal/3/user/signup and share the user name/id. We'll then add you as the reporter and confirm.
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.