Hi,
We're using a scripted field to sum the story points of child issues (with some values excluded). The scripted field works fine when executed in the Script Runner's preview. However, 5 of 48 issues have the wrong value when the issues are displayed in a search result. After updating the parent issue (by for example adding a comment), it works fine again.
Re-indexing didn't help. Am I missing something?
Regards,
Sonja
Thanks for your quick reply. I've made a small cosmetic change to my script and saving it caused all values of the field to be correctly calculated for now. I'll have to keep an eye on this to see if it happens again in the future.
youre welcome.
When you expirience odd behaviour with script runner, try deleting the browser cache (CTRL+F5). It helped me sometimes. Obviously script runner relies on javascript which is running in the browser. Sometimes these scripts don't get updated when they are already cached.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it can be anything. My first guess is, there is something wrong with the script, or the field config. Provide more information if you can.
PS: don't rely on script runner to much. It is still buggy in some places.
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.