Skip to content

Fetch the value of custom field from a ticket #11

@rmuthaiya

Description

@rmuthaiya

I am unable to find a way to directly filter specific custom fields alone using linq query. For now, i am able to do it using foreach loop using below code. Could you please let me know if i am missing something?

using (var client = new FreshdeskClient(config)) { var result = await client.Tickets.GetAsync(123); Console.WriteLine(result.Subject); Console.WriteLine(result.Attachments.Count); Console.WriteLine(result.CustomFields.Count); foreach (var field in result.CustomFields) { Console.WriteLine(field.Key + ":" + field.Value); } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions