When reviewing Pull Requests (PR) on Github, the common options are to (1) comment (either in-line or top level comments), (2) approve, and (3) request changes. The triggers offered by Jira to automate actions based off of PRs are the following:
PR Created
PR Declined
PR Merged
I haven't yet looked into whether finishing a PR review with Comment or Request changes will trigger the PR Declined hook, but I believe it may be best for those to be separate, as Github has them separate.
Checked this functionality just now. Sorry for double post.
Requesting changes does not trigger the automation. But Closing the PR does.
I would suggest to create individual triggers for finishing a PR with "Comment", and "Request Changes". And I would also rename the "Declined" PR trigger to "Closed", since that is what Github calls it.
There isn't any direct way but it is possible to show the pull requests approval status on the associated Jira cards using my open source chrome extension: PR Status.
Please try and give feedback.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rehan,
Thank you for your reply, and for that awesome Chrome Extension!
I don't believe this solves the issue of automating the transition of a card, based on a PR review. It is still only possible to automatically transition a card on the following actions: Opening PR, Closing PR (Jira calls it Decline), and Merging PR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed. It would be great if this was possible!
In our team at standup time we had to constantly open the github pages just to check if the pr has enough approvals. This is cumbersome especially if you need two approvals to progress the ticket. I developed the extension to overcome this confusion. Now the conversation goes like: Thanks for the reviews and approvals, I will merge the PR...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.