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

    • Bug
    • Status: Done
    • Low
    • Resolution: Done
    • 6.9.1
    • 6.11.0
    • None
    • None
    • SR4J Sprint 86
    • 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

            dluksza Dariusz Luksza [X] (Inactive)
            dluksza Dariusz Luksza [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: