Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket/Jira Workflow Integration?

Is it possible to integrate Jira and Bitbucket in order to do the following workflow:

When a new PR is sent to Bitbucket with the Jira ticket, when the first approver sets his approval the Jira ticket goes from AVAIL FOR CODE REVIEW to IN CODE REVIEW.
When the second approver approves the PR, the ticket goes from IN CODE REVIEW to READY FOR TESTING.

Is this possible?

2 answers

Hi @Pat Walters 

If you have ScriptRunner for Jira, then the Remote Events feature might be of interest to you. For example, it allows you to set up an Event Handler in Jira that listens to an event being fired in Bitbucket.

Please let me know if this is of help to you?

If you have ScriptRunner for Bitbucket instead of for Jira, I might be able to help with a similar solution.

Kind regards,

Robert Giddings

Product Manager, ScriptRunner for Bitbucket

0 votes
Mikael Sandberg Community Leader Mar 10, 2020

The integration and workflow triggers only support these events:

  • Pull request created
  • Pull request merged
  • Pull request declined (Bitbucket only)
  • Pull request reopened (Bitbucket Server only)
  • Commit created
  • Branch created

So the events that happens when someone approves the pull request is not supported, not sure if any of the scripting apps, like Scriptrunner for Bitbucket, can trigger on approval event and then via the REST API move the issue in the workflow.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Data Center

Architect your Atlassian Data Center Application (Jira, Confluence, Bitbucket) in Azure

Hello folks! To the member of organizations who are still running their Atlassian applications on the server, we are on the side of the bridge, and if we need to sail the boat with confidence either...

588 views 0 11
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you