can i get the response of all comments in pull request using rest API without specifying the Filters



How could i get response without specifying the filter query

1 answer

0 votes

Hi Paramanand,

The only mandatory parameter in the rest end point you shared is the path one. By adding it, only the comments on the file specified through the path will be returned.


@Felix Haehnel replied to a similar question in this thread and suggested to use the activities end point instead:

Activity items include comments, approvals, rescopes (i.e. adding and removing of commits), merges and more.

Because this returns more data - not just the comments - you'll have to filter out anything that is not a comment, but it's going to be easier to do than grabbing comments individually for every file. 




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

274 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you