Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-452

Editor for Custom script Pre Hook and Post Hook highlights as error valid value for commitCallback

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.4
    • Labels:
      None
    • Sprint:
      Sprint 50
    • Critical Points:
      0

      Description

      commitCallback binding variable used in scripted Pre Hook and Post Hook incorrectly defined as of type com.atlassian.bitbucket.commit.CommitCallback in the static type checker.

      Actually it's used as argument for hookContext.registerCommitCallback, which expects instance of com.atlassian.bitbucket.hook.repository.RepositoryHookCommitCallback.

        Attachments

          Activity

            People

            Assignee:
            szaporozhtsev Sergey Zaporozhtsev [X] (Inactive)
            Reporter:
            szaporozhtsev Sergey Zaporozhtsev [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: