I try to transfer the value of a custom field "Story points_deprecated" to the custom field "Story points". I only want to transfer the value for tickets which not already have a value in the "Story Points" field. I use scriptrunner build in script Copy custom field values. It processes all issues provided by a JQL-filter. I made the filter project = tdh AND "Story points_deprecated" != EMPTY AND "Story Points" = EMPTY and this results in 300 tickets in the issues viewer. However when I use it in scriptrunner the script ends immediately with the message 0 issues modified. The scriptrunner preview stated that 300 issues will be processed. There is nothing in log files.
Anybody a hint to resolve this?