Solution for Next-Gen Project
To resolve this you must have permissions to that Next-Gen project.
Go to Project list,
2. Find your Next-Gen project, click Project Settings → Issue Types.
3. Select any Issue Type and create the fields with the below-specified format.
3. Once created, your fields will be available in the Previously-Created Fields section as below. Also, added to one of the selected issue type.
4. Make sure to include these fields in all Issue Types like Epic, Bug, Task, Subtask, etc,. Check the warning in the Gantt once again, whether you missed configuring any issue types.