Hello @Gopi_K
Thank you for reaching out.
I'm afraid Jira Server does not have a validator that would prevent time tracking fields from receiving a determined value.
I believe the best option would be to use Jira automation to properly add a comment in the issue informing that an invalid value was added to the field. Optionally, you can also use Jira automation to properly transition the issue to an "Invalid status" and require the user to set a value < 2h to proceed in the workflow. These would be the steps:
Doing the steps above, the issue will be transitioned to the invalid status and a comment will be triggered every time the Original Estimate field is more than 2h, not allowing the issue to proceed in the workflow.
You can check the documentation below for more details about Jira automation:
Jira automation - Data Center and Server
Let us know if you have any questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.