Using JIRA’s XMLRPC API, I can fetch issue details by key, but how can I extract its subtask IDs? For example:
ticketInfo = apiClient.retrieveTicket("PROJ-456")
subtaskList = ticketInfo.childTickets
print('Found subtasks:', subtaskList)
Using JIRA’s XMLRPC API, I can fetch issue details by key, but how can I extract its subtask IDs? For example:
ticketInfo = apiClient.retrieveTicket("PROJ-456")
subtaskList = ticketInfo.childTickets
print('Found subtasks:', subtaskList)
hey, try adding the subtasks field in your query. i found xmlrpc often misses them till you specify the field mapping in your jira config. might sound odd, but it solved my issue
Based on my experience when working with JIRA’s XMLRPC API, I found that the approach of accessing the subtasks directly from the issue object worked reliably only after ensuring that the API client had been properly configured to retrieve all nested fields. In my project, adding an explicit request for these nested components before performing the XMLRPC call made it possible for the correct subtask ids to be available. Without this configuration step, the results were sporadic, and some subtasks did not appear in the ticket details.