The companies will become the center of business with the Industry 4.0 revolution implementing IT integration, cloud-based applications, data management, rapid decision-making operations, etc. These transformations can be realized with an effective project management, and project managers have a big role in this context. The quality of the software is very important for Industry 4.0, given that it can be as strong as the weakest link in a chain. Collaboration between producers and customers plays an increasingly important role in software processes where agile applications have recently been proposed. In this chapter, for the success of the project manager, Theory of Constraints is applied to remove the problems that may be encountered with the implementation of the agile methods during identifying the problem and determining its solution. The proposed solutions to uncover the reasons not reaching the targeted quality and removing the obstacles will be a guide for software project managers.