Hi
I have used below scripts to get all issues (only Sub-task) under specific sprint
select it.pname, cfv.issue, cfv.stringvalue as SprintNumber, ao."NAME" as SprintName, cf.cfname, issue.IssueNum as IssueKey, ist.pname
from CustomFieldValue cfv
inner join CustomField CF on CF.Id = CFV.CustomField
inner join jiraissue issue on issue.id = cfv.issue
inner join Project P on issue.Project = P.Id
inner join "AO_60DB71_SPRINT" ao on ao."ID" = Cast(cfv.stringvalue AS bigint)
inner join issuetype it on it.id = issue.issuetype
inner join issuestatus ist on ist.id = issue.issuestatus
where cf.cfname='Sprint'
and ao."NAME" = 'mysprint'
and it.pname = 'Sub-task'
But above query returns only 8 records which is not correct.
It gave 61 records in JIRA application
JQL => project = ABCD AND Sprint = 39614 and issuetype = Sub-task
it would be great and very thank full if some one help me to resolve the issue
Regards
Santosh