Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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.

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.

https://scriptrunner.adaptavist.com/latest/jira/remote-events.html

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

Suggest an answer

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

Introducing Data Center Community licenses

I'm Alison Huselid, Head of Product for Data Center at Atlassian. As we shared in our last post, we’ve been working on a solution for those of you who work for charitable non-profit organizations tha...

3,424 views 24 82
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