Recently, I was shifted from one project to another. The project was developed by a small team of a small company, who could not continue the project because of resource crunch, and hence the project was sold to our company. I had no experience or knowledge on this new skill. However, I took 2-3 days to get a brief idea about it, and joined the new team.
When I asked other team members about the flow of the project, I found out that nobody knew anything about the project, despite working on it for over 22 days prior to me. As some of the members mentioned, the only thing they ever did was uncomment some code, that too the ones which were told by the client himself (apparently, the client has some knowledge about the coding skill used). According to the team, the project only dragged on for so long was because of a single person in the team (not the team lead), who knew how to convince the client to retain the project.
So, I was completely blank, because neither had I learned anything about the new skill, nor did anyone in the team know anything about it. Upon further investigation, I found out that the team lead who was assigned to get the knowledge of the project did not do his work. When the other dev team asked whether any documentation (or KT) of the project was required, the team lead denied. Now, no one has a clue on anything going on in the project for 20+ days.
Also, the team lead has a bad habit of unloading all the blame game to the team members when the manager questions. So, before that happened, and since I was new and the manager had high hopes from me, I honestly told him about the project and the problems faced by the team, without the team lead's knowledge. The manager has asked for documentation from the previous development team, and hopes that everything will go well from now on.
However, I am afraid about the team lead's bad habit of putting the blame game, and that he would find my smallest mistakes and report it to the manager.
Did I do the right thing? Or should I apologize to the team lead?