The answer is very useful for me, so I can get the fields I need. Thank you so much.
However, I had one issue when conducting this case. There are some issues that change the Sprint name that show the information in Jira Database, and some issues don't.
Please help me find out the problem in this case!
I hope to hear from you soon!
Note: The query i used:
"SELECT p.pname, p.pkey, i.issuenum, cg.ID, cg.issueid,