We track a lot of our data only on the parent epic, including priority and several custom fields. We tried using scripted fields to "show" these values on the child stories. This gets the right value, but we run into the problem of the Jira index not updating, since the story itself did not change, just the scripted field on the story (and the parent epic). ScriptRunner documentation says that this can have unexpected effects and suggests writing a custom searcher.
I was wondering if others have found ways to get past this limitation in ScriptRunner.
Scriptrunner also has "Parent Navigators". Can these be used to safely copy data from the parent epic to the child story?
I would create a scripted listener that looks for updates against Epic issuetypes then pushes those changes out to child (or epic-linked or whatever). So if you're using a scripted field for each normal field on the Epic, you'll just abandon the scripted fields.
https://scriptrunner.adaptavist.com/latest/jira/listeners.html#_custom_listeners
Thanks, Kyle. We may have to go that direction. Our sys admin wanted to stay away from listeners, for peformance reasons, but there may not be any other option. I'm just surprised that there is no way to do this, from within the scripted field.
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.