code: def prompt_for_fix_version(cmd, issue, maintenance_branches=()):
      default_fix_version = get_candidate_fix_version(
          mainline_versions=issue.current_versions,
          maintenance_branches=maintenance_branches,
      )
  
      issue_fix_version = cmd.prompt(
          "Enter fix version [%s]: " % default_fix_version
      )
      if issue_fix_version == "":
          issue_fix_version = default_fix_version
      issue_fix_version = issue_fix_version.strip()
      return issue_fix_version
  
imports: import configparser
  import os
  import pprint
  import re
  import subprocess
  import sys
  import requests
  import getpass
  from six.moves import input
  import six
label_desc: Use image node_id 8 for calling a global function with example usage: prompt_for_fix_version(cmd, issue, maintenance_branches) and returns: issue_fix_version