Job satisfaction is a measure of workers' contentedness with their job. Job satisfaction is correlated with career success, and is often intrinsically desired independently of its impact on career outcomes.
80,000 Hours conducted an analysis of the literature on job satisfaction and identified a number of key determinants (Todd 2014). These include work that the worker is good at; work that the worker perceives to helps others; and work with supportive conditions, including work that allows for flow-like states, that meet the worker's basic needs, that fits the worker's personal life, and that involves interactions with helpful colleagues.
Todd, Benjamin (2014) What makes for a dream job? Here’s what the evidence says, 80,000 Hours.