Create PR automatically upon changing status in Jira

Shalini Sudarsan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2025

I am looking for was to automatically create a PR with the branch that is associated with that story, when I change the status in Jira. Is that possible out of the box? 

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2025

Hi @Shalini Sudarsan

Welcome to the community.

Unfortunately, there's no built-in feature in Bitbucket Cloud to achieve automatically creating PR from Jira.

You can, however, explore creating your custom automation in Jira and utilise the Bitbucket Cloud REST API below in creating pull requests.

POST /repositories/{workspace}/{repo_slug}/pullrequests

Referencehttps://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-post

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events