Skip to content

v1.0.23(Mar 10, 2023)

Compare
Choose a tag to compare
@sravan-s sravan-s released this 10 Mar 11:55
· 9 commits to master since this release

feat: add Ticket.getList()
Add new API to get by groups, otherwise, we have to modify other methods to
handle callback to the end& JS doesnt really have first class support for polymorphism

* @param {integer} filters.offset - list offset.
* @param {object} filters.customFieldFilter - customField filter.
* @param {string} filters.group - group key(to filter tickets by a team).
* @param {string} filters.status - status to get tickets. ('all', 'CLOSED', 'OPEN').
* @param {function} callback - Function(list:Array<Ticket>, err:Error)
Ticket.getList(params, callback)