How to programmatically download issues from a project

Hi everyone! I was wondering how to download the issues from a project programmatically. In the SDK documentation, there is a method to get the URL where the issues payload is stored, but I’m not sure how to authenticate it. Any tips would be appreciated, thanks!

Hi @rszeto,
project.export_issues() returns a URL that contains a short-lived token.
So you can download the exports using the following:

import requests

url = project.export_issues()
issues = requests.get(url).json()

Best,

Paul N

Ah, perfect. Thank you Paul!