Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to call Bamboo REST API from Jira Cloud Automation via Application Tunnel

Pieter Wouter Hartog
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2023

I'm excited about Bamboo's support for Application Tunnels since 9.3. Should avoid a lot of setup and connection headaches.

One thing that doesn't work for me yet: doing a web request from Jira Cloud Automation to my local Bamboo server via the Application Tunnel.

The application URL from the tunnel looks something like this: 

http://e<lots of numbers and letters>592.self-hosted.atlassian.com

In my Jira Cloud Automation rules I have a web request action that looks something like this:

http://e<lots of numbers and letters>592.self-hosted.atlassian.com/rest/api/latest/queue/WT-BB?bamboo.triggerReason.jiraProjectKey=BPTB&bamboo.triggerReason.jiraVersion=BB-REL-005&bamboo.triggerReason.jiraVersionId=10083&bamboo.triggerReason.jiraProjectName=... and more variables

But my jira cloud automation rule basically errors and a build was never queued in Bamboo. This is the error in the Jira Automation audit log:

Web request was sent, but timed out after 30 seconds on the remote host so the result is unknown (but most likely successful).

 

 

How is this supposed to work with Application Tunnels?

2 answers

1 vote
Pieter Wouter Hartog
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 23, 2023

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.3.4
TAGS
AUG Leaders

Atlassian Community Events