How to change the REST API URI

We have an instance running Bamboo 6.3 in port 8085.

And a reverse proxy engine proxy the my.domain.com to localhost:8085.

When we try to link Applications with Jira, it runs failed.

Also, when we try to install add-ons, it runs failed too.

The root cause is base URI for automation URL is locahost:8085 instead of my.domain.com .

 

If we try to request the rest resources, the all in localhost.

May I know that there is any way to change the Host for these?

PS: It works before we upgrade to 6.3 from 5.x.

 

 <resources expand="resources"><link href="http://localhost:8085/rest/api/latest/" rel="self"/><resources start-index="0" max-result="12" size="12"><resource name="info"><link href="http://localhost:8085/rest/api/latest/info" rel="self"/></resource><resource name="project"><link href="http://localhost:8085/rest/api/latest/project" rel="self"/></resource><resource name="plan"><link href="http://localhost:8085/rest/api/latest/plan" rel="self"/></resource><resource name="result"><link href="http://localhost:8085/rest/api/latest/result" rel="self"/></resource><resource name="chart"><link href="http://localhost:8085/rest/api/latest/chart" rel="self"/></resource><resource name="queue"><link href="http://localhost:8085/rest/api/latest/queue" rel="self"/></resource><resource name="export"><link href="http://localhost:8085/rest/api/latest/export" rel="self"/></resource><resource name="clone"><link href="http://localhost:8085/rest/api/latest/clone" rel="self"/></resource><resource name="dependency"><link href="http://localhost:8085/rest/api/latest/dependency" rel="self"/></resource><resource name="elasticConfiguration"><link href="http://localhost:8085/rest/api/latest/elasticConfiguration" rel="self"/></resource><resource name="reindex"><link href="http://localhost:8085/rest/api/latest/reindex" rel="self"/></resource><resource name="currentUser"><link href="http://localhost:8085/rest/api/latest/currentUser" rel="self"/></resource></resources></resources>

1 answer

You are not looking for how to change the REST API URI. Wanting a specific solution often gives the wrong answer.

Instead a heading like "Cannot install add-ons" or similar would make people more eager to help you out.

 

I think the root cause here is that you have not configured bamboo to be aware that it is running behind a reverse proxy:

https://confluence.atlassian.com/bamkb/running-bamboo-behind-apache-httpd-proxy-171967281.html

 

-Lars

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

203 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you