[#506] Booking Comments are not correct...

Migrated from Redmine #506 | Author: Sajid Shah
Status: New | Priority: Immediate, there is BUG! | Created: 2020-04-06


I fetch single booking details with

        getBookingDetails($id)

Under the comments sections this is what i get

        [comments] => Array
            (
                [0] => Frank wants to talk about rocks (Charone this is just a test, he doesn't really)
            )

This is super strange because I have 3 comments on this booking (screenshot: Screenshot by Lightshot ) but I can only see one? Something is not right or I am doing something wrong here.
I also tried running

        getBookingComment($id)

but it will return the same above booking comment and this time it is not array just a simple string.
How can i access all comments for a single booking?

Sajid Shah wrote:

Hey, this is super urgent. Anyone can answer this please. Thank you

Redmine Admin wrote:

hi, there is only one comment per booking possible, so API is working correct. Other comments in interface are comments to other bookings of same client

Redmine Admin wrote:

you can use this method to get it

getClientComments ($clientId, $shedulerId)