Hi @Puneeth BS -- Welcome to the Atlassian Community!
As you note, you could do this with a custom field and Automation for Jira rule. To get you started on creating your rule, please review this documentation and examples:
Kind regards,Bill
It looks like you're new here. Sign in or register to get started.