Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

215 views 4 6
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