Hello!
I'm working on seeing what is possible with JIRA Cloud Automation, and I'm currently investigating what is possible using the development issue field, in particular development[reviews].
https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-developer-status/ seems to suggest that this should return any JIRA issues that are pending pull request approval ...
development[reviews].open > 0 order by created DESC
... but this results in no issues being returned, even when the JIRA Pull Request screen for a given issue shows that there is an Open pull request in Github, and it has no approvals (there's no face with checkmark in the Reviewer column, in fact, no face at all.)
The built-in automation has events for Pull request created, pull request declined, and pull request merged. But I'm trying to build something that fires when an issue transitions, but the pull request approval is in the wrong state.
Any suggestions? Googling just brought me to various versions of the linked document above.
Thanks in advance!