Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,324
Community Members
 
Community Events
168
Community Groups

How to send base url with context path when developing own rest API on my bamboo plugin?

I created a bamboo server with context path "/bamboo" into server.xml and set full path url on baseUrl field of bamboo server <my-ip:8085/bamboo>.

But when I developed custom rest API and send a request

<rest name="My Rest Resource" key="my-rest-resource" path="/api">
</rest>

It will send with the request my-ip:8085/projects, not my-ip:8085/bamboo/projects and show 404 (not found) error.

Do I miss a config it or another reason to send API with full path correctly <my-ip:8085/bamboo/projects>?

1 answer

0 votes

Hi! 

Looks like you forget get info in your app about base url.

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

313 views 0 7
Read article

Atlassian Community Events