code: def do_action_to_ancestors(analysis_request, transition_id):
      
      parent_ar = analysis_request.getParentAnalysisRequest()
      if parent_ar:
          do_action_for(parent_ar, transition_id)
docs: Promotes the transitiion passed in to ancestors, if any