Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

[Development] In Bamboo Plugin, how to consume REST API call for developed plugin


I have developed a bamboo plugin, as per the tutorial i can access the rest url when using 


But now i have installed the plugin to my bamboo instance, how can i access the rest url of my plugin. i am tyring to access it using url as 



not its showing me page not found error.


* A resource of message.
public class MyRestResource {

public Response getMessage()
return Response.ok(new MyRestResourceModel("Hello World")).build();



<?xml version="1.0" encoding="UTF-8"?>

<atlassian-plugin key="${atlassian.plugin.key}" name="${}" plugins-version="2">
<vendor name="${}" url="${project.organization.url}"/>
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="RestAPI"/>
<!-- add our web resources -->
<web-resource key="RestAPI-resources" name="RestAPI Web Resources">
<resource type="download" name="RestAPI.css" location="/css/RestAPI.css"/>
<resource type="download" name="RestAPI.js" location="/js/RestAPI.js"/>
<resource type="download" name="images/" location="/images"/>
<rest name="My Rest Resource" i18n-name-key="" key="my-rest-resource" path="/myrestresource" version="1.0">
<description key="my-rest-resource.description">The My Rest Resource Plugin</description>

1 answer

Hi @Muhammad Ramzan ,

Could you please confirm the plugin you have installed is enabled under Bamboo administration >> Manage Add-ons? If you open Bamboo logs (e.g <bamboo-home>/logs/atlassian-bamboo.log or <bamboo-install>/logs/catalina.out) search for your plugin groupId property described in pom.xml - check if there are any error(s) whilst loading the plugin.

Have you created your plugin using atlas-create-refapp-plugin or atlas-create-bamboo-plugin? Is it possible to mare your source code available on or GitHub for review?

Looking forward to hearing back from you.

Kind regards,


Thanks for your kind reply.


Yes , plugin is enabled on Bamboo , i verified and in logs everything is fine. 


I crated using " atlas-create-refapp-plugin", its working on JIRA and i can access the rest url in JIRA.


But in Bamboo i can't , i tried even using the Rest Browser plugin, but no url found.

Hi @Muhammad Ramzan ,

Thank you for your reply.

At this moment, it is difficult to troubleshoot this issue without looking at the source code, I am afraid. Based on what you have provided you should be able to access the endpoint mentioned, however, the 404 suggests the plugin is not working as expected. 

Please, have a look if all modules for your plugin are enabled - specially the one that relates to your rest api, e.g My Rest Resource. You can review this information from the same place mentioned previously - Bamboo administration >> Manage Add-ons - then search for your plugin and expand it to review its modules.

Kind regards,


I even tried the default settings, once project was created by atlassian command i just installed the plugin with same settings as it is but no success 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events