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

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

Suggest an answer

Log in or Sign up to answer
0 votes
Robert Giddings _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 13, 2020

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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.

TAGS
AUG Leaders

Atlassian Community Events