POST a new comment on a changeset in a line of a new file (BB-14707)

Issue #11925 open
Pedro Rijo created an issue

Using the bitbucket API (https://confluence.atlassian.com/bitbucket/changesets-resource-296095208.html#changesetsResource-POSTanewcommentonachangeset) I'm trying to post a comment on a changeset of a full new file. I tried to comment on several lines (-1, 0, 1, 10, ...) and the comment is done but it is not possible to see it anywhere. I can only comment in the file, not in a line. Example: https://bitbucket.org/pedrorijo91/ttttt/commits/bf096764b85e10eeb123cb6dfa4ed9cbcb6a4f01?at=master#chg-conf.rb

Screen Shot 2015-10-08 at 18.41.34.png

In a modified file I can comment in the new lines as in https://bitbucket.org/pedrorijo91/ttttt/commits/bf096764b85e10eeb123cb6dfa4ed9cbcb6a4f01?at=master#chg-Reporter.Scala

Screen Shot 2015-10-08 at 18.40.21.png

Comments (11)

  1. Pedro Rijo reporter

    Edit: I was using only the parameter "line_from". I've found out that if I use the parameter "line_to" instead it works. Don't know why, and the documentation doesn't provide any hint.

  2. Gary Sackett staff

    Hi Pedro,
    Commenting on a "green line" requires "line_to", a red line "line_from" and a white line should take either. Can you confirm your API call here, just to make sure it was using the proper parameter?

    Cheers,
    Gary

  3. Pedro Rijo reporter

    Hi.

    Is that information available anywhere? (Commenting on a "green line" requires "line_to", a red line "line_from" and a white line should take either.)

  4. Gary Sackett staff

    Hi Pedro,
    I opened a doc request to get the api doc updated wiht this note.
    Cheers,

    Gary

  5. Michael Rüegg

    Hi,

    I can confirm that "green" lines require line_to, but for context lines ("white lines") only line_from worked for me. With line_to Bitbucket created a comment but it is not shown in the diff (only in the activity tab) due to "commented on a file but no context is available".

    Is this a known issue?

  6. Steve Rozar

    I suggest Xbox their support has been very much effective for help to the consumer. It has been appreciated. Need to Follow Xbox Support, it Helps. And of course, they are very much supportive.

    Xbox.jpg

  7. Jacob Martine

    Every Moment technology has become a new invention, it has been growing day by day, it has been for us to relieve our lifestyle, but if they're having some issue then need support. We all know about Telstra which has been called as Bigpond, It is the basically Australian Mail provider Service. But in case our have some issue overshare so we need support as quickly as possible then we Need to Follow Bigpond Support it Helps. And of course, they are very much supportive.
    I think Bigpond Support will help us with the Matter.

    Bigpond Support.jpg

  8. Windows Support

    Every Moment technology has become a new invention, it has been growing day by day, it has been for us to relieve our lifestyle, but if they're having some issue then need support. We all use Windows system software most of the time, So many People having windows in their pc or, laptop, But in case we have some issue over there so we need support as quickly as possible then we Need to Follow Windows Support it Helps. And of course, they are very much supportive.
    I think Windows Support will help us with the Matter.

    Windows.jpg

  9. Log in to comment