-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to extract custom fields using incremental export. Custom fields are excluded from return type model. #310
Comments
All dependencies in API solution are broken. |
I was able to compile the solution by re-cloning and using VS2015. What is my next step for attempting to address custom field extraction issue? |
I think the fact that I am using api version 2.5.5 could be contributing to the problem. |
Are you simply looking for a way to extract Ticket Field information (Built-in as well as custom fields)? |
Correct. I wold like to extract complete ticket information. ( all fields with the values ) |
Field name look up process is not clear given we are not able to query api for each ticket ( due to Zendesk api access policy ) |
So This is what I have in my code Selecting tickets since last query Process each ticket
Go through every ticket audit and audit event (Audit Events hold Ticket Fields)
At this point, AuditEvent.FieldName will contain one of the following 2 Hope this helps |
when I upgrade the nuget package I have compilation errors: |
I still do not see custom fields in the Ticket model. I was hoping it would be there. |
Customer fields are not stored separately. |
The example helps. I was hoping to avoid doing ticket by ticket processing. I am getting the collection if I query Zendesk ticket API directly without wrapper: |
This is the data from Audit Events. You will get this same collection there. |
when using raw json I could potentially build custom field metadata mapping and use for interpretation of ids . Not sure if it is viable stratergy. |
strategy* |
I just create a TicketField array at the very beginning of my script and then compare IDs from Audit Events to an item within the array to avoid querying API for every field. |
I wold greatly appreciate some help addressing the version 2.55 to 3.7 upgrade error: Severity Code Description Project File Line Suppression State |
I haven't upgraded my code for at least a year. Not sure which version I am on :) Cannot help you here mate |
Array is a great idea. |
Thank you for your help. What type is tickets in your sample? |
Ticket is a static property. Here is the code |
Still an opened question: Severity Code Description Project File Line Suppression State on this line that works well with 2.55 |
return new TicketExportResponse() |
The issue was related to the versioning. I am able to see the custom field collection after upgrading API version from 2.55 to 3.7. |
Unable to extract custom fields using incremental export. Custom fields are excluded from return type model. When I query ZenDesk API directly I am able to to get the fields, but when I am trying to use ZenDeskApi_v2 they are omitted. What is the best strategy of incremental extraction for custom fields?
I would Greatly appreciate your help. I was trying to override the model, but I am getting compilation error in VS2017:
Severity Code Description Project File Line Suppression State
Error MSB4044 The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". ZendeskApi_v2 C:\Program Files\dotnet\sdk\2.0.2\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.GenerateAssemblyInfo.targets 146
I sincerely hope this issue can be addressed or a work around can be proposed.
Dmitry Kholodkov
The text was updated successfully, but these errors were encountered: