Watch your alcohol intake: booze is at the root of any problem; from expressing how you (really) feel about your boss/colleagues to blowing the cover off an on-going office gossip story.
Your best bet would be to keep alcohol to a minimum. Drink some nice virgin cocktails, and water in between drinks.
Attendance is important: unless there is a very valid reason not to. It is also an ideal way to bond with your colleagues - including those you don't know - and your boss. Maintaining a positive relationship and energy at work is very important - you don't want to be left out of that.
Also see this as a great networking opportunity.
Arrive on time: it is not ideal to arrive late or stay for too short a time, without a good reason that is. According to computerweekly, HR watches you closely, and they remember who attended and left ten minutes later, or stayed for the full duration of the party.
Watch what you say: showing off your gift of telling jokes is all good, but don't let it be at the expense of someone else, nor the cause of conflict.
Think Rihanna's lyric: "Everybody's vibin' so don't nobody start a fight".
Dress appropriately: don't be the one to miss the memo. If there's a theme, go for it!
Avoid flirting: firstly, this can create a very awkward moment between you and your co-worker. Secondly, you stand the chance of being turned down in front of everyone you work with. #Embarrassing
Here is one of the reasons you definitely want to keep your dignity at the office party...
Source: Youtube via computerweekly