Stating that would sound very negatively in any serious interview.
Jealousy it's a very immature feeling and probably you don't want to pass the impression that you are unstable enough, or immature enough, to leave a job just because you didn't get what you wanted.
If I was the interviewer, I would think: well, what would happen if he gets jealous again about some other project he wanted to work, but couldn't? Would he leave just like he is leaving the previous job?
Interviewers in general are looking for mature and reliable people. Don't use the word "jealous" and reinforce the skills you are good at. That should give you a better chance to work with the things and projects you like.
And if by any chance you get stuck in a project you dislike, do your best and finish it. Sometimes we work with things we enjoy and sometimes we don't, either way, we need to do our best. There is no reason to be jealous about anything.