From f69617f25a0e0027ba2ee1b7eb46c0363266beb8 Mon Sep 17 00:00:00 2001 From: sidpremkumar Date: Aug 12 2019 17:51:24 +0000 Subject: Fixing small issues in qa-contact --- diff --git a/sync2jira/downstream.py b/sync2jira/downstream.py index 065d917..f517839 100644 --- a/sync2jira/downstream.py +++ b/sync2jira/downstream.py @@ -575,7 +575,7 @@ def _create_jira_issue(client, issue, config): # Add QA field if present if issue.downstream.get('qa-contact', None): # Fetch all fields - all_fields = jira.fields() + all_fields = client.fields() # Make a map from field name -> field id name_map = {field['name']: field['id'] for field in all_fields} # Try to get and update the custom field