From Jira is it possible to see when a PR in GitHub has been approved by 2 reviewers and when a PR has been "declined" and code changes have been requested on the PR by the reviewers?
We have integrated GitHub with our Jira instance and have the following automation rules set up although they are not working 100%. We're trying to get insight from Jira before having to go into GitHub:
The only DevOps triggers in Jira for PRs are created, merged, and declined but is there a way to add something to the automation rules or some other setting/app to show when a PR has been approved by all reviewers and when code changes have been requested. In Jira does PR declined just mean the entire PR was killed?
Hi - Based on these filed Suggestions, I don't believe there is a way to check PR approved:
https://jira.atlassian.com/browse/JRACLOUD-71798
https://jira.atlassian.com/browse/JSWCLOUD-15308
Related questions:
https://community.atlassian.com/t5/Jira-questions/How-do-you-trigger-a-workflow-triggers-on-a-pull-request-action/qaq-p/259568
https://community.atlassian.com/t5/Jira-questions/Is-there-a-trigger-for-when-a-pull-request-has-been-approved/qaq-p/762827
Related documentation:
https://support.atlassian.com/jira-cloud-administration/docs/configure-workflow-triggers/
It looks like somebody has implemented this with a Lambda function:
https://dev.to/kro12/automatically-transition-jira-issues-using-a-github-webhook-2i75
I think in theory this could be done with an Automation that was triggered by a Github webhook: https://support.atlassian.com/jira-software-cloud/docs/automation-triggers/
I hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.