I've managed to pull in a list of issues, and found that apparently Sprint is stored as customfield_10003 in our Jira instance. I want to manipulate the data in python dataframes, push it to reporting software, whatever.
But I'm running into problems trying to get the sprint names into a useful format in a list or dataframe. I've been looking all over but I can't seem to find a solution that works.
Code:
Hi
You can export the field Sprint into CSV, read the CSV file, filter all the empty cells which are not needed and populate the sprint names in your data frame required for your reporting software. This article shows how to export issues from Jira via the API.
I see, yeah one method or the other as long as I am getting JQL results into python it's not too important the exact method. Thanks!
One remaining question I have is with populating the sprint names. I realized that I was being a fool and could just filter out the empty sprint fields in JQL, so I did so. But when I try to return something using the following (same as above)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would suggest that you get a export of issues from Jira as that would easily help you identify issues with sprint name or not, then you can decide to omit the ones that are empty versus the ones that has a value and put that data into a list as intended. I think querying each issues via API concurrently to find out the sprint name isn't efficient. And to your question, I believe you could look into the documentation of the python library you're using to understand if you can use dot notation that way to get the value from custom fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The formatting is kind of bad, I tried to add some white space but it didn't save that way so oh well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.