func (w *WorklogClient) Get(ctx context.Context, orgID *identity.ID, ident *apitypes.WorklogID) (*apitypes.WorklogItem, error) {
	v := &url.Values{}
	if orgID != nil {
		v.Set("org_id", orgID.String())
	}

	req, _, err := w.client.NewRequest("GET", "/worklog/"+ident.String(), v, nil, false)
	if err != nil {
		return nil, err
	}

	var entry apitypes.WorklogItem

	_, err = w.client.Do(ctx, req, &entry, nil, nil)
	return &entry, err
}
// Get returns the worklog item with the given id in the given org.
Get returns the worklog item with the given id in the given org.
// Get returns the worklog item with the given id in the given org .
func (w *WorklogClient) Get(ctx context.Context, orgID *identity.ID, ident *apitypes.WorklogID) (*apitypes.WorklogItem, error) {
	v := &url.Values{}
	if orgID != nil {
		v.Set("org_id", orgID.String())
	}
	req, _, err := w.client.NewRequest("GET", "/worklog/"+ident.String(), v, nil, false)
	if err != nil {
		return nil, err
	}
	var entry apitypes.WorklogItem
	_, err = w.client.Do(ctx, req, &entry, nil, nil)
	return &entry, err
}
func ( w * WorklogClient ) Get ( ctx context . Context , orgID * identity . ID , ident * apitypes . WorklogID ) ( * apitypes . WorklogItem , error ) { v := & url . Values { } if orgID != nil { v . Set ( " " , orgID . String ( ) ) } req , _ , err := w . client . NewRequest ( " " , " " + ident . String ( ) , v , nil , false ) if err != nil { return nil , err } var entry apitypes . WorklogItem _ , err = w . client . Do ( ctx , req , & entry , nil , nil ) return & entry , err }
Get returns the worklog item with the given id in the given org.
Get returns the worklog item with the given id in the given org .