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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot