Use Jira automation to change the status of the parent issue to closed, and at the same time set the status of all child issues to closed.
When closing a child issue, it is mandatory to enter a comment.
At that time, is it possible to close the child issue by entering a comment when the parent issue is closed?