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

    • Bug
    • Status: Done
    • Trivial
    • Resolution: Fixed
    • None
    • 5.5.4
    • None
    • None
    • Sprint 50
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: