Background: Recently I have had a job interview for a position at my company. I work at the company as a contractor currently and applied for a full time position. Lots of coworkers along with myself thought I would get the full time job. A month ago, the company asked for my resume. They took my resume and made a job opening to match my qualifications on my resume. If you hold the resume and the job description next to each other they are identical. A month after, they came back and told me they hired someone else for the job and now I have to train them. I have two weeks left until my position as a contractor is terminated. They took the rug right out from under my feet.
Problem: My company has to post job openings internally for two weeks for anyone that works here can have a chance to apply. Nobody has the qualifications internally to apply. After the two weeks, the company has to post the job externally, which they failed to do. They have hired someone that currently works here's relative.
Question: Am I in the right to file a HR complaint about my situation? Is it worth filing a complaint? I would like to be as professional as possible.