Hello,
I would like to create an automation that checks pull requests that have been open for more than two days and sends an email to the author to speak to the reviewers.
In the first phase, I set the schedule as a trigger so that the automation runs every day and through a JQL query goes to all the issues of the current sprint and through a smart value compares whether the Pull Request date is greater than 2 days and if so sends an email.
After checking the forum, I realized that the schedule cannot be used as a trigger, but rather something related to the PR.
However, even if I put a For:JQL to collect all the issues that interest me, the smart values will always be related to the PR that I just created (Trigger: Pull Request created).
Is there any idea how I can implement it?
Thanks!
As the pull request smart values are only available with the PR-related triggers, I believe you will need to do this in three (or more) rules:
Kind regards,
Bill
Hi @Bill Sheboy
Thank you very much for the alternative, it really could be the solution to be implemented.
Kind regards,
Cláudia Silva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What Git repository are you using (Bitbucket, GitHub, GitLab, etc)? There doesn't seem to be a REST API to get a list of Pull Requests associated with a Jira work item (I looked through the Software REST documentation). My guess is that you need to query the Git front-end to get a list of open pull requests and then use the branch name to identify the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The git repository I'm using is Bitbucket. I will try through several automations connected together.
Thank you very much for your reply and help!
Kind regards,
Cláudia Silva
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.