Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

is there any rest api to list all comments for a particular PR?

Edited

I dont know the hosting , My company is using the bitbucket.

I want to test it with postman and if any authentication requires please suggest that also.

1 answer

1 accepted

0 votes
Answer accepted
Leo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 06, 2019

Hi @amarsha.ng

if you are on server

You can use this API call >>> rest/api/latest/projects/{Project Key}/repos/{RepoSlug}/pull-requests/{PullRequest-ID}/activities

And then extract comments from that result

or if you want to fetch comments for particular file you need to go with Path  parameter

>>> rest/api/latest/projects/{Project Key}/repos/{RepoSlug}/pull-requests/{PullRequest-ID}/commnets?path={file path}

 

hope this gives you some idea

 

BR,

Leo

can i check this from postman?

Leo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 06, 2019

I guess you can. FYI, you'll have to append your bitbucket base URL before rest api call which I provided

Thanks , Its working

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events