Am in the process of creating a visualization to reflect the aging pull requests waiting for approvals.
In this process am finding that "API reflects only those pull requests information associated with the credentials am using for triggering API".
I mean, if i use my credentials of user1 to trigger the API, it returns the pull requests created by only the user1 despite it has admin privileges over the bitbucket-dev instance.
<a href="https://bitbucket-dev.associatesys.local/rest/api/1.0/dashboard/pull-requests?state=OPEN&participantStatus=UNAPPROVED" target="_blank" rel="noopener noreferrer nofollow">https://bitbucket-dev.xxxxxxxxxxx.local/rest/api/1.0/dashboard/pull-requests?state=OPEN&participantStatus=UNAPPROVED</a>
So, am exploring ways to make the API to return all the Pull requests irrespective whoever is created.
Please let me know in case of any inputs. Thank You.