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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,570
Community Members
 
Community Events
176
Community Groups

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.

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

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
TAGS

Atlassian Community Events