Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3831

getCustomFieldValue isn't included in the bindings during preview of Script Field

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.6.1.1-jira8
    • Fix Version/s: 6.0.0
    • Component/s: Scripted Fields
    • Labels:
    • Sprint:
      SR4J Sprint 78
    • Critical Points:
      4.7

      Description

      The evaluation of script field code is implemented separately for previewing vs. when the field actually runs 'for real'. In the preview case we don't supply the getCustomFieldValue convenience closure in the bindings, so scripts using it will fail at preview time even though they'll work fine during real-world evaluation.

        Attachments

          Activity

            People

            Assignee:
            krana Kyran Rana [X] (Inactive)
            Reporter:
            jchoules Joanna Choules
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: