code: def list_issues(context, id, sort, limit):
      
  
      result = component.list_issues(context, id=id, sort=sort, limit=limit)
      headers = ['id', 'status', 'product', 'component', 'title', 'url']
      utils.format_output(result, context.format, headers)
docs: list_issues(context, id)
  
      List all component attached issues.
  
      >>> dcictl component-list-issue [OPTIONS]
  
      :param string id: ID of the component to retrieve issues from [required]