Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15894

Support Stash notifications via OAuth, not just Basic Auth

    • Icon: Suggestion Suggestion
    • Resolution: Not a bug
    • 5.6.0
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      To reproduce: Edit a plan and select the Notifications tab. Click "Add notification" and select "Stash" as the notification type

      Actual: You'll get a pop-up warning, screenshot attached. "For Stash to receive this notification an Application Link of Basic Auth is needed between the two systems."

      And, indeed, if you use an OAuth-based App Link, the notification will fail.

      Expected: Support OAuth app links as well/instead.

      Basic Auth is "not recommended." https://confluence.atlassian.com/display/KB/Application+Links+Troubleshooting+Guide And per BAM-15892 it's not possible to set up a Basic Auth AppLink in Bamboo Cloud.

            [BAM-15894] Support Stash notifications via OAuth, not just Basic Auth

            Krystian, I know you were suggesting using Stash integration, but the whole point of this bug is to try to workaround BAM-15891, which blocks the normal Stash integration.

            Dan Fabulich added a comment - Krystian, I know you were suggesting using Stash integration, but the whole point of this bug is to try to workaround BAM-15891 , which blocks the normal Stash integration.

            To clear the confusion: my suggestion was related to Stash integration available on Bamboo Server.

            Krystian Brazulewicz added a comment - To clear the confusion: my suggestion was related to Stash integration available on Bamboo Server.

            No, this doesn't work. We were trying to use this deprecated notification to work around BAM-15891 (You can't integrate Bamboo Cloud with Stash Server). We can't use the Stash repository type because Stash integration requires SSH (BAM-15464) but Bamboo Cloud forbids SSH (BAM-12228).

            We were trying to use the deprecated notification to workaround this, but apparently even this deprecated Stash notification won't work, so someone will have to actually fix BAM-15464 or BAM-12228 to unblock this feature.

            Dan Fabulich added a comment - No, this doesn't work. We were trying to use this deprecated notification to work around BAM-15891 (You can't integrate Bamboo Cloud with Stash Server). We can't use the Stash repository type because Stash integration requires SSH ( BAM-15464 ) but Bamboo Cloud forbids SSH ( BAM-12228 ). We were trying to use the deprecated notification to workaround this, but apparently even this deprecated Stash notification won't work, so someone will have to actually fix BAM-15464 or BAM-12228 to unblock this feature.

            Krystian Brazulewicz added a comment - - edited

            Dan, since version 5.6 this notification is deprecated.
            If you use Stash repository type (not the git repository type), then Bamboo will notify Stash about the build status automatically.

            Please let us know if it works for you.

            Krystian Brazulewicz added a comment - - edited Dan, since version 5.6 this notification is deprecated. If you use Stash repository type (not the git repository type), then Bamboo will notify Stash about the build status automatically. Please let us know if it works for you.

              Unassigned Unassigned
              f5401f380876 Dan Fabulich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: