We have a huge monorepo with lots of committers. In our team we have a slack bot that shows daily stats and we want to add info about open PRs to its messages. How to fetch open PRs by several authors using api?
Documentation says that I can filter them by multiple users, but is seams like this method uses usernames as AND constraint.
If I understand you right you'd like to get the list of PRs of all the users from your team from a specific repository, without sending requests for each specific user (PR author).
According to REST API docs you can use the following end-point to get the list of pull-requests from the repository, then filter that by the users you care about on the client-side, because filter by usernames is additive (AND), not multiplicative (OR).
Hope it helps
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events