Use Pull Request Review Status as Trigger

Julian Schneider June 23, 2021

I want to use the Review Status on a pull request as a Trigger for an automation flow like this:
https://www.atlassian.com/de/software/jira/automation-template-library/rules#/rule/1357202/new

 

However there are no trigger sources for "Approved" or "Change Requested" on a Pull Request, is there anything I can do?

1 answer

0 votes
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 23, 2021

The Bitbucket Cloud rest api shows you all webhook events, you're probably interested in `pullrequest:updated`. You can add a webhook via the rest api  or via the repository ui 

I'm not sure if this this would integrate with Automation  for Jira out of the box though.

Let me know how you go ...

Cheers Ulrich

Izymes

Julian Schneider June 25, 2021

Thanks! Yeah that would mean i need to write some code and have it run on a server somewhere. I was hoping to be able to integrate it with just a couple of clicks :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events