zdesk icon indicating copy to clipboard operation
zdesk copied to clipboard

Add Jira Links Endpoint

Open cthenderson opened this issue 3 years ago • 3 comments

Adding additional endpoint for fetching JIra issue links.

cthenderson avatar Jan 24 '22 21:01 cthenderson

Hi, thanks for the contribution. The zdesk_api.py is generated from zdgen. I would like to leave this open for those who might be looking for the same thing, then fix this over in zdgen. They've changed the docs layout and I've started working on updates to account for that.

fprimex avatar Jan 26 '22 19:01 fprimex

I have a branch created with an updated zdgen:

https://github.com/fprimex/zdesk/tree/doc_site_update

Can you see if this will work for you? They have changed a lot of things (for the better) while migrating their docs site, so you may have to make some changes. Notably, every id argument they had became more descriptive. Instead of id they now have, e.g., ticket_id.

fprimex avatar Jan 28 '22 01:01 fprimex

Thanks for getting this update in. I noticed the call method was causing an infinite loop when I passed in path=/api/v2/jira/links, get_all_pages=True. I created a PR with the doc_site_update as the base to handle all of the paging responses.

https://github.com/fprimex/zdesk/pull/64

cthenderson avatar Feb 01 '22 17:02 cthenderson