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

Display error when first creating a Scripted Field with Custom Template

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.3.6
    • Fix Version/s: 5.3.9
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Jan 29
    • Critical Points:
      0

      Description

      Display error when first creating a Scripted Field with Custom Template, whereby the error:

      "Field not set up correctly - view template is not defined"

      is displayed to users.

      To reproduce:

      1. Create a scripted field, selecting to use a custom template.
      2. Use $value for the custom template and the number 100 for the inline script.
      3. Now "Add" the field.
      4. Add field to screen,
      5. Navigate to issue and you get the error "Field not set up correctly - view template is not defined".

      Work around:

      1. Go back to the scripted field config and edit it.
      2. But don't change anything. Just click the "Update" button.
      3. Now go back to the issue and 100 is displayed correctly.

        Attachments

          Activity

            People

            Assignee:
            rgiddings Robert Giddings
            Reporter:
            rgiddings Robert Giddings
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: