parautenbach / TeamCity-HipChat-Notifier

TeamCity HipChat Notifier for sending build server notifications to HipChat.
Other
59 stars 31 forks source link

Only the first 100 rooms are shown #32

Closed kringol closed 10 years ago

kringol commented 10 years ago

The hipchat api v2 returns only 100 rooms per get request. If there are more than 100, then successive calls have to be made specifying the start-index https://www.hipchat.com/docs/apiv2/method/get_all_rooms

Current problem: The room I want for the notifications in the 2nd batch of 100 rooms, and since I cannot specify a room name manually (only via the combo box) I cannot use that room

parautenbach commented 10 years ago

Indeed. I do that for emoticons, but not rooms. Wow, that's a lot of rooms! I will fix this as soon as possible.

As a temporary workaround, pick any room and then set the room ID manually in the hipchat.xml config file. You will find it under ./BuildServer/config.

parautenbach commented 10 years ago

Bug fixed in v0.6.3 which I released just now.

kringol commented 10 years ago

Great!. Thanks for the quick change and workaround! Great plugin ;)

And yes, we are an organization with more that 5000+ employees, so there are many rooms :)

parautenbach commented 10 years ago

You're welcome -- and thank you.

Please let me know if the fix doesn't work, but it should.