Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-1313

Unable to use Blank condition on Reject Force Push - Pre-Hook

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 6.9.1
    • Fix Version/s: 6.11.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4J Sprint 86
    • Critical Points:
      0.7

      Description

      Hello,

      Due to an error that is being generated by ScriptRunner, we are unable to use a blank condition on the Reject Force Push pre-hook.

      In the help text, below the condition text area, it clearly states that 'Blank will evaluate to "true"'. We have been using a blank condition successfully for years.

      But now, when clicking the update button, we get an error "The field should not contain only whitespace characters." Then if we click the update button a couple more times, we get another error, "Please enter either the path to a script file OR an inline script."

      I have attached screenshots of the errors.

      Is there a workaround we can use until you fix this?

      Thanks.

        Attachments

          Activity

            People

            Assignee:
            dluksza Dariusz Luksza
            Reporter:
            dluksza Dariusz Luksza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: