Sorry, we don't support your browser.  Install a modern browser

Provide a background update of scripted fields#41

We used a scripted field to automatically reformat a text label representing a version to a number so that we can easily search it and query for tickets matching a version number > or < a given version.

However this approach does not work in Jira Cloud because scripted fields are actually evaluated when a user press the button to view them.

We would really appreciate an automatic background refresh of scripted fields so that they can be effectively used in JQL

3 years ago
P

Same here. Scripted fields are not very useful if there is no way to process the script somehow to make the JQL research accurate.

8 months ago
M

Same for me. Having no scripted fields is bad, but having outdated scripted fields is worse.
We have to rely on the dashboards and reports and this is not possible if the scripted values are just updated “on view”.
On jira server the “reindex all” task was perfect. We used it always after changing the logic of the code in the scripted fields and from time to time before important reports, to be really sure we get the right data.
So please implement a feature like “reindex all”, maybe call it “recalculate all scripted fields” or “recalculate this scripted field”. Ideally the scripted values will be updated without changing the “updated” datetime of the issues. I assume such a function will require some time to execute like the “reindex all” did - but this doen’t matter.
Even better it would be to get besides the “recalculate” button an option to automate this task, like a config setting “recalculate all scripted fields on every first day of the month”.
Realizing this would make script runner even greater on cloud!

3 months ago