- Development version.
- Fixed examples in
get_tickets()
andget_users
to reflect changes made previously in the function parameters for incremental querying. Addresses issue #8 brought up by @k-dutra.
- This is a maintenance release that updates
get_all_ticket_metrics()
. Zendesk instructed developers to switch from offset-based pagination to cursor-based pagination. This is the only function that uses OBP. The other functions either do not use pagination, or, use time-based pagination.
- added
get_tickets_comments()
to fetch the comments in a conversation on a ticket (#5, thanks to @k-dutra for making the request and creating the PR).
get_users()
changed to use Zendesk's incremental export endpoint. Instead of pagination with thepage=
parameter there is now astart_time
parameter. This is a breaking change-- previous function calls with the page # will not work, and thestart_time
value must be given.get_users()
now has a parameter for the user role. This is used to filter the api results before returning a data frame.get_tickets()
was updated to use better logic for the stopping value for pagination.get_tickets()
could have an error when combining custom field values of different types. These are now converted into a character column first beforepurrr::map_dfr()
attempts tobind_rows()
.
styler
used to clean up formatting.remove_cols
parameter added toget_tickets
so that custom fields causing errors can be removed. Errors occurred when a field was sometimes blank and assigned a logical type were appended to non-blank, non-logical inside of apurrr::map_dfr
. See issue #1 on GH opened by @nschaefer1211.
- Added
start_date
parameter to theget_users
function to enable pulling just more recent users rather than all users. - Changed
get_tickets
from using cursor pagination to start/end time pagination. - Pagination change allowed for the introduction of
end_time
as a parameter for the tickets call.
- Added 2 more functions
get_custom_fields()
andget_users()
to the package. get_custom_fields()
will allow us to fetch the system and all the custom fields defined by the zendesk administrator for an organization.get_users()
will allow us to fetch details of all the user registered in your zendesk organization.
- Created initial set of functions to allow to authenticate and fetch tickets and tickets metrics data.
- Tested and released to GitHub.