Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Nov 20, 2024
1 parent cd3b9d5 commit 546080e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sync2jira/upstream_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,9 @@ def github_issues(upstream, config):
try:
project_node = _get_current_project_node(
upstream, project_number, issuenumber, gh_issue)
item_nodes = project_node['fieldValues']['nodes'] if project_node else []
if not project_node:
continue
item_nodes = project_node['fieldValues']['nodes']
for item in item_nodes:
gh_field_name = item.get('fieldName', {}).get('name')
prio_field = github_project_fields.get('priority', {}).get('gh_field')
Expand Down

0 comments on commit 546080e

Please sign in to comment.