Go to Jira project configuration ** In Workflows tab Click EDIT Icon.
In validators tab section, Click Add Validator
Choose Jenkins Job Current Status Validator and Click Add
Configure Validator and Click Add
Review and Click Publish