我想从Python自动查询Jira问题并将其导出到csv。我正在使用atlassian-python-api库查询Jira和Pandas,以将Json导出到csv。但是,我看不到csv:
import pandas as pd
from atlassian import Jira
jira = Jira(
url='https://myserver.atlassian.net',
username='XXXXX',
password='XXXXX')
JQL = 'project = DEMO and created >= startOfDay()'
data = jira.jql(JQL)
df = pd.DataFrame(data)
df.to_csv('Output.csv') #if I can export to a remote address it would be great
有人可以告诉我我在做什么错吗? 谢谢