I have a repository on BitBucket, and I'm using a Jenkins pipeline script to build AMIs using packer.
Once the AMI is built successfully, I need to make changes to the code in the repository and raise a PR.
What is the simplest way to create a PR from Jenkins to a BitBucket repository?