Create a shared category for each project category that you want to link the subcontract category group.
Steps
Go to Project management and accounting > Setup > Categories > Shared categories.
Click New.
In the Category ID field, type a value.
In the Category name field, type a value.
Select Yes in the Can be used in Project field.
Click Save.