write jira issues to mongodb