private void fixJiraIssueTransitionId ( Map < String , Object > properties ) { if ( properties != null ) { Object jiraIssueTransitionId = properties . get ( JIRA_ISSUE_TRANSITION_ID_PROP ) ; if ( jiraIssueTransitionId instanceof String ) { if ( ( ( String ) jiraIssueTransitionId ) . trim ( ) . isEmpty ( ) ) { properties . put ( JIRA_ISSUE_TRANSITION_ID_PROP , null ) ; } else { properties . put ( JIRA_ISSUE_TRANSITION_ID_PROP , Integer . valueOf ( ( String ) jiraIssueTransitionId ) ) ; } } } }
Make sure jiraIssueTransitionId is an integer and not an empty string .