In fact Sprint is also a custom field. For example in the public instance, the customfield is customfield_11930. You may need to do some string parsing based on the value that you get for the customfield.
We have created a JIRA add-on to solve these kind of problems - Issue Matrix.
By using it you can completely customize how the issues in an Epic are shown - you can choose which columns to show - for example you can add Story Points, Fix Version and Sprint. You can also separate issues in different sections according to issue type (i.e. Stories, Tests, ect.), sort based on a field, and so much more.
If you need a demo or you need help setting it up, just drop us an email at email@example.com.
Generally it's not a good idea to use JS hacks as sooner or later they will break - when JIRA Core or JIRA Software is upgraded.
The sprint field is a comma-separated list of ids - you can use the JIRA Agile REST API to get the name of the sprint. Another warning here - this will be slow, depending on how many issues you have in the epic.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot