I'm looking to create a rule that will send a Slack message when a Pull Request has been open for a certain period of time.
I started out using a Scheduled trigger before realizing the `Development` information can only be accessed when using one of the Pull Request triggers.
Then, I started looking at Atlassian's REST API and found a custom field containing the 'Development' info. However, it's very limited (e.g., don't have access to the PR URL) compared to the Jira automation development smart values.
Is there a workaround to the pseudo code/logic below?
1. When a PR hasn't been updated for more than 1 day
2. Then notify a channel in Slack that
{{issue.assignee.displayName}}'s PR has been open since {{pullRequest.createdDate}.
Please review {{pullRequest.url}} as soon as possible.