I found a solution through another post here: https://community.atlassian.com/t5/Jira-questions/Get-tag-and-sprint-value-from-jira-using-python/qaq-p/763983
This is a solution posted back in 2018, and wonder if there is an improvement to the solution.
I am also struggling to query the customfield ID for each issues (according to the posted solution).
In short, I have an issue ID, and want the output to print the Sprint name, e.g. 'Sprint 18'.
Any help is much appreciated.