Jira jenkins

Please review code for supporting change test execution status in JIRA
So what should I return if cycle with id is not found?