code: func includeParentWorkItem(ctx context.Context, ancestors link.AncestorList, childLinks link.WorkItemLinkList) WorkItemConvertFunc {
  	return func(request *http.Request, wi *workitem.WorkItem, wi2 *app.WorkItem) error {
  		var parentID *uuid.UUID
  		// If we have an ancestry we can lookup the parent in no time.
  		if ancestors != nil && len(ancestors) != 0 {
  			p := ancestors.GetParentOf(wi.ID)
  			if p != nil {
  				parentID = &p.ID
  			}
  		}
  		// If no parent ID was found in the ancestor list, see if the child
  		// link list contains information to use.
  		if parentID == nil && childLinks != nil && len(childLinks) != 0 {
  			p := childLinks.GetParentIDOf(wi.ID, link.SystemWorkItemLinkTypeParentChildID)
  			if p != uuid.Nil {
  				parentID = &p
  			}
  		}
  		if wi2.Relationships.Parent == nil {
  			wi2.Relationships.Parent = &app.RelationKindUUID{}
  		}
  		if parentID != nil {
  			if wi2.Relationships.Parent.Data == nil {
  				wi2.Relationships.Parent.Data = &app.DataKindUUID{}
  			}
  			wi2.Relationships.Parent.Data.ID = *parentID
  			wi2.Relationships.Parent.Data.Type = APIStringTypeWorkItem
  		}
  		return nil
  	}
  }
docs: // includeParentWorkItem adds the parent of given WI to relationships & included object