Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-12223

Adding groovy script path in Assets automation on windows get absolute path error

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 5.4.0, 5.3.1
    • Assets - Automation
    • None

      Issue Summary

      Recent translation changes changed the Assets UI to be ' MUST_START_WITH_SLASH_PATTERN' state. Meaning absolute path are only considered for unix-like paths. No windows support retained.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Assets -> Schema Configuration -> Automation -> Create Automation
      2. Add action -> type : execute groovy script
      3. *Attempt to add windows path: example C:\\example
        it.groovy

      Expected Results

      Accept windows absolute path

      Actual Results

      Customer receives UI error message:
      Script file path must be absolute

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [JSDSERVER-12223] Adding groovy script path in Assets automation on windows get absolute path error

            No work has yet been logged on this issue.

              Unassigned Unassigned
              4bbe53f6c66f Louis (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: