@manager.command
def sync_jira():
 from security_monkey import jirasync
 if jirasync:
  app.logger.info('Syncing issues with Jira')
  jirasync.sync_issues()
 else:
  app.logger.info('Jira sync not configured. Is SECURITY_MONKEY_JIRA_SYNC set?')

@ manager . command def sync_jira ( ) : from security_monkey import jirasync if jirasync : app . logger . info ( 'Syncing issues with Jira' ) jirasync . sync_issues ( ) else : app . logger . info ( 'Jira sync not configured. Is SECURITY_MONKEY_JIRA_SYNC set?' )
syncs issues with jira .