Welcome to the Asana Community Forum @Nisha_Jhunjhunwala
If you set up custom fields in the main task and you have all the info added there then in the subtask you can see them when clicking on “Show inherited fields”
More info on custom fields here.
Is that what you are looking for?
Additionally, this might help as well.