I'm trying to find a pro active way to have a list of all PRs that have not been updated for more then 24 hours emailed to people. Is this possible? Is there anything within JIRA I can do to highlight this?
Thanks!
Bitbucket itself does not have anything like this. You could raise a feature request here.
However, if you are interested, you could probably build some form of this yourself.
You could write a cronjob that pulls the pull request API for open pull requests that have not been updated in the past n hours, then emails the reviewers. Should you want to take this further still, you could even write a Connect Add-On, publish it so that all Bitbucket users can use it.
P.S.
To find the URLs of all pull requests that haven't been updated in the past 24 hours, this could be a starting point
$ curl "https://api.bitbucket.org/2.0/repositories/user/slug/pullrequests?sort=updated_on" -G --data-urlencode \
'q=state = "OPEN" and updated_on < '`date --date="-24 hours" -Iseconds` \
| jq '.values[].links.self.href'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.