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.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs