Hi All,
We are using Github with JIRA.
I have set-up an Automation in JIRA where, when a PR is merged it automatically transitions the ticket to "QA review" Status. I was able to achieve that using this using the following trigger on JIRA.
Pull request merged | Automatically transitions the issue when a related pull request is merged in a connected repository. |
Now I want to create another automation. If PR Reviewer doesn't like the code quality or finds issue with it, he wants the developer to fix the code. He wants to comment the issues and instruct developer to change code to fix it and clicks "Changes Requested".
Which JIRA Trigger can be used based on Github's "Changes Requested"?
Hi @Vishal Guleria -- Welcome to the Atlassian Community!
Is the reviewer declining the PR? If so, I believe there is a trigger for that event: https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Pull-request-declined
Kind regards,
Bill
Thanks bill, for the info.. But this trigger - Pull Request Declined is equivalent to "Close PR" on Github. I need to get JIRA trigger equivalent to "Changes Requested", or a workaround to achieve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't done this with Github, but I wonder if you could use a scheduled rule (or webhook trigger) to call the Github REST API and check on the status of the review, taking actions as needed:
https://docs.github.com/en/rest/pulls/reviews?apiVersion=2022-11-28
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying to implement the same behavior since the majority of PRs returns are done through Change Requests and not closing out a full PR.
But no luck implementing it. I'm surprised "Change Requested" isn't one of the main offered logic blocks on the automatic panel as it is more frequently used then closing out a PR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wish this feature a lot too, @Luis Gomes Zanforlin. We cannot work in free options because we need jira automations, but we have not all integrations we want to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.