code: def get_jids():
      '''
      Return a list of all job ids
      '''
      serv = _get_serv(ret=None)
      jids = _get_list(serv, 'jids')
      loads = serv.get_multi(jids)  # {jid: load, jid: load, ...}
      ret = {}
      for jid, load in six.iteritems(loads):
          ret[jid] = salt.utils.jid.format_jid_instance(jid, salt.utils.json.loads(load))
      return ref get_jids():
      '''
      Return a list of all job ids
      '''
      serv = _get_serv(ret=None)
      jids = _get_list(serv, 'jids')
      loads = serv.get_multi(jids)  # {jid: load, jid: load, ...}
      ret = {}
      for jid, load in six.iteritems(loads):
          ret[jid] = salt.utils.jid.format_jid_instance(jid, salt.utils.json.loads(load))
      return ret
docs: Return a list of all job ids