fix in jira api to connect to mongodb #2699