It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hipchat metrics needed

Need to get a report that shows the last message posted date for each chat room so we can do a cleanup of unused rooms.  The "last active" date provided gets updated when administrative actions occur so does not represent the last time the room was actually used.  We have many rooms with a current "last active" date but if we look at the room history the last posting was actually over a year ago.  Also need to generate counts of active vs archived rooms.  Thanks.

1 answer

0 votes
David Maye Atlassian Team Jun 26, 2019

Hi Stan,

You may want to take a look at the Auto-Archive script found at Using the Auto-Archive script for HipChat Server

Script details

  • This script will cycle through all non-deleted and non-archived rooms, determines the 'activity' in each room (activity being last message, room creation date, etc), then calculates (based on the threshold time variable selected) if the room should be archived or not.
  • Rooms that contain no history will be archived as well.
  • This script can be manually ran or ran via Cron scheduling.
  • Uses python and must be executed in the /hipchat-scm/fishtank/tools directory.

As far as your second request, you can obtain which rooms are archived by simply running the following command in the HipChat Server CLI:

hipchat stats -w

Or by looking at the 'System Status' page in the web interface under the 'Server Admin' page (requires admin level user account).

Hope this helps! 

Cheers,
-David
HipChat Server/Data Center Premier Support Engineer II | Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,195 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you