code: def get_milestone_id(project, milestone, auth=False, **params):
      milestones = get_milestones(project, auth=auth, **params)
      for mstone in milestones:
          if mstone["title"] == milestone:
              return mstone["number"]
      raise ValueError("milestone %s not found" % milestone)
  
imports: import getpass
  import json
  import os
  import re
  import sys
  import requests
label_desc: Use image node_id 11 for calling a global function with example usage: get_milestone_id(project, milestone, auth) and returns: mstone