Fixed the closed condition for JIRA