Full answer
What the interviewer is assessing
Interviewers check whether you can be a team player without resentment and whether your judgement of priorities is sound.
How to structure it (STAR)
Situation: the team goal and what you personally wanted. Task: the choice you had to make. Action: how you weighed the two, who you spoke to, how you made the switch and how you supported the work you did not choose. Result: what the team achieved and what you gained or lost personally, stated honestly.
If you are a fresher
Giving up a lead role in a fest or a part of the project you liked works well.
If you are experienced
Use a time you took on support or maintenance work so a release could ship.
Illustrative example (for structure only, not a script to memorise)
A developer who wanted to build a new search feature might describe agreeing to fix payment bugs for two sprints instead because checkout errors were losing customers, and the error rate falling below one percent before returning to the search work.
Key points
- Real trade-off
- Reasoned choice
- Full support for the team path
Common mistakes
- Claiming no personal cost
- Sounding bitter
- Trivial example
Follow-ups
- Did you ever get your preferred work later?
- Would you do it again?
Tips
- Show the cost honestly
- Show you still did the work well
Evaluation rubric
- Judgement
- Teamwork
- Honesty
STAR guidance
Situation: the team goal and what you personally wanted. Task: the choice you had to make. Action: how you weighed the two, who you spoke to, how you made the switch and how you supported the work you did not choose. Result: what the team achieved and what you gained or lost personally, stated honestly.
Illustrative example (labelled sample, adapt it to your own facts): A developer who wanted to build a new search feature might describe agreeing to fix payment bugs for two sprints instead because checkout errors were losing customers, and the error rate falling below one percent before returning to the search work.