Forums

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

potential bug in the rest api

Pawel Michalski
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!
July 11, 2024

I was trying to make api calls to create a comment. I've used rest api, as in 

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-comments-post

 

when I did a POST with missing (or empty) path:

e.g.:

"inline": { "to": 122, "path": "" }

 

it made whole PR broken after such call:

  • "Couldn't load activity Try again" - try again never worked ;)
  • rest call to get all comments ends with 500, always from this point forward: 

 500 Internal Server Error: [{"type": "error", "error": {"message": "Something went wrong", "id": "8505d94548074943a03fd7de1601c309"}}] at

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 12, 2024

Hi Pawel,

Thank you for reaching out and reporting this.

I was able to reproduce it, I went ahead and created a bug report here:

You can add yourself as a watcher (by selecting the Start watching this issue link in the bug report) if you'd like to get notified via email on updates. You can also select the link This affects my team to indicate you are affected by this issue.

Please note that we don't provide ETAs and bug fixing is implemented as per our policy here.

In the meantime, I suggest declining the existing PR that broke and creating a new one so that you can add and view comments.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events