The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using the Bitbucket Cloud APIs it is possible to retrieve the list of watched PR?

Alessandro Pagiaro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 19, 2020

I want to retrieve a list of watched PR, basically the information shown here - https://bitbucket.org/dashboard/pullrequests?section=watching - without iterating over all the repositories and fetching the PR for each of them.

 

There is this possibility?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Hana Kučerová
Community Champion
November 19, 2020

Hi @Alessandro Pagiaro ,

welcome to the Atlassian Community!

Unfortunately I don't think there is such a possibility.

You would probably need to do some sort of iteration :-(. This endpoint provides pullrequests, but only those, which are authored by the specified user. The other endpoints for pullrequests require workspace & repository identifiers.

TAGS
AUG Leaders

Atlassian Community Events