Hi Vinisha,
I see that you are using some python in order to query the Jira Software Cloud for the sprint name. But there is a problem in this approach, Sprint name is not an issue custom field exactly though. Sprint can appear as a field to Jira, but because it's a required system field in Jira Software, it doesn't always behave like other generic custom fields do. Hence it is not necessarily expected to be something that you can query a particular issue directly to find. The sprint field does not typically use the naming convention of customfield_10007 as shown in your screenshot.
There is a REST API endpoint that contains such sprint information. More details on that can be found in the endpoint of GET /rest/agile/1.0/sprint/{sprintId}.
I am not well versed in using python for this purpose. Is there a particular package or library in which you are using in order to try to make these calls back to Jira Cloud? Perhaps I can help you work out the python syntax here if I can better understand how we can find what you are looking for here.
Sprint name is also something that can be queried either from the REST API, or by making a JQL search for a specific name. But it's not like other custom fields on issues in Jira.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.