code: func (w *WorklogClient) List(ctx context.Context, orgID *identity.ID) ([]apitypes.WorklogItem, error) {
  	v := &url.Values{}
  	if orgID != nil {
  		v.Set("org_id", orgID.String())
  	}
  
  	var resp []rawWorklogItem
  	err := w.client.DaemonRoundTrip(ctx, "GET", "/worklog", v, nil, &resp, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	out := make([]apitypes.WorklogItem, 0, len(resp))
  	for _, w := range resp {
  		err := w.setDetails()
  		if err != nil {
  			return nil, err
  		}
  
  		out = append(out, *w.WorklogItem)
  	}
  	return out, err
  }
docs: // List returns the list of all worklog items in the given org.