Forums

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

Creating inline comment on specific commit using bitbucket API ?

Yogesh Panchal
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 30, 2018

I've used following API to comment inline on specific commit. I can see message symbol on commits, but when i click on commit i cant see comment message.

curl https://api.bitbucket.org/2.0/repositories/USER/REPO_SLUG/commit/COMMIT_HASH/comments/ -X POST -u USER -H 'Content-Type: application/json' -d '{"content": {"raw": "Two more thing!"}, "inline": {"to": 87, "from": 88, "path": "MYFile.py"}}'

 

I cant see any comment between line number 87 and 88.

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events