Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

47 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you