code: def resolve_jira_issues(title, merge_branches, comment):
      jira_ids = re.findall("SPARK-[0-9]{4,5}", title)
  
      if len(jira_ids) == 0:
          resolve_jira_issue(merge_branches, comment)
      for jira_id in jira_ids:
          resolve_jira_issue(merge_branches, comment, jira_id)
  
imports: import json
  import os
  import re
  import subprocess
  import sys
  import traceback
  from urllib.request import urlopen
  from urllib.request import Request
  from urllib.error import HTTPError
label_desc: Use image node_id 14 for calling a global function with example usage: resolve_jira_issues(title, merge_branches, comment) without return types