| |
@@ -1059,9 +1059,11 @@
|
| |
if not config['sync2jira']['develop'] and not check_jira_status(client):
|
| |
log.warning(' The JIRA server looks like its down. Shutting down...')
|
| |
raise JIRAError
|
| |
- if issue.source == 'github' and issue.content and \
|
| |
- 'github_markdown' in issue.downstream['updates']:
|
| |
- issue.content = pypandoc.convert_text(issue.content, 'plain', format='md')
|
| |
+
|
| |
+ if issue.downstream.get('updates', None):
|
| |
+ if issue.source == 'github' and issue.content and \
|
| |
+ 'github_markdown' in issue.downstream['updates']:
|
| |
+ issue.content = pypandoc.convert_text(issue.content, 'plain', format='md')
|
| |
|
| |
# First, check to see if we have a matching issue using the new method.
|
| |
# If we do, then just bail out. No sync needed.
|
| |