Hi to all and sorry for my English!
I need your help in this question: I have a list of the issues (among them are epics, tasks, stories, subtasks, etc.) In a certain way, I filtered IDs of such information and placed them in the list:
listOfKeys = [id1,id2,id3,id4,id5...]
Then, I need to get such a table (the data in which would be built on issues, which are in the listOfKeys ) as in the screenshot: see my screenshot
For this, I wrote this "code":
listOfWorklogs=pd.DataFrame() #table from the screenshot (I used pandas (pd) lib)
lst={} #dictionary for help, where the worklogs will be stored
for i in range(len(listOfKeys)):
worklogs=jira.worklogs(listOfKeys[i]) #getting list of worklogs
if(len(worklogs)) == 0:
i+=1
else:
for j in range(len(worklogs)):
lst = {
'self': worklogs[j].self,
'author': worklogs[j].author,
'started': worklogs[j].started,
'created': worklogs[j].created,
'updated': worklogs[j].updated,
'timespent': worklogs[j].timeSpentSeconds
}
listOfWorklogs = listOfWorklogs.append(lst, ignore_index=True)
########### Below there is the recording to the .xlsx file ################
But it works very slowly, even for 100 issues (about 3 minutes). And I have about 10,000 issues ((( Perhaps there is some workaround? I will be glad to any advice, thanks.