Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

"Add Your Review" on GitHub as a trigger

Thip Balakrishnan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2021

Hi there! My team has asked me to look into Jira Automation, specifically with Github work. 

Currently our team has two triggers (related to pull requests) to transition cards into different workflow states:

  • Transition to Code Review When PR created
  • Transition to Selected for Release When Merged

What we're hoping to do is add a trigger in the middle of these two processes - when someone takes on that pull request ("add a review" on GitHub), the assignee on Jira changes to the code reviewer OR a label is created that says "Under Review by USER". This would help us identify (on Jira) which pull requests need to be taken on, and if they were taken on, which developer took that on.

Currently looking for a solution, but have not come across anything. Hoping someone can point me in the right direction.

1 answer

2 votes
Shaun Scovil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 13, 2022

I know this question is a year old, but for posterity, I wrote an article about triggering Jira automation rules using GitHub web hooks. The example in the article is for a slightly different workflow, but the same technique could probably be applied in this scenario. 

https://shaunscovil.com/jira-automation-for-github-reviews-5da81ee72af8

Suggest an answer

Log in or Sign up to answer