I'm not a teacher...
One party - and it's needs: party's needs
Two parties - and the needs of them both: parties' needs
The apostrophe indicates 'ownership' ... the needs are 'owned' by the party. But, if the word already ends with an 's', then you only add an apostrophe.
- For Teachers