Change JIRA issue status automatically after pull request approved in bit bucket



Is it possible to change a JIRA issue status automatically after its pull request has been approved in BitBucket?


Ticket-111 is in progress and the pull request related to this ticket has been approved in BitBucket. 

Instead of moving it manually to the next status, I'd like to know if is there any automation to do that.


I have checked triggers in JIRA Workflow, however there is no option for Pull Request Approved. 





1 answer

0 votes

It is not an option in JIRA yet. However, latest version of Bitbucket server is coming with webhooks. You might be able to take advantage of it and push the story to another status by triggering a REST call from Bitbucket server on PR approval.

Haven't tried it yet but worth checking.

Has anybody tried using REST calls for getting a trigger in Jira on Pull Request approval ?

Hi @Sowmya Srinivasapura Devaraja and @Jobin Kuruvilla [Go2Group],

Do you guys have any example of those Bitbucket REST calls?



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,006 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you