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

How to develop connect addon UI using react (and back end in node) with AP module


I would like to keep react project saperately and use a common UI for my server as well as connect plugin.

I have used to create connect addon

and used to create a react app. 

I did a build using npm run build for react. and copied these files generated by build to  public folder of connect addon. This works well till i do not need AP.

The moment I wanted to use AP.request with react to call jira api from my addon, I got stuck. How do i achive using AP.request from react app?

Is there a sample code where react build is done saperately for addon and then integrated it into the node project(Which server api onlly)?

I did find a very useful stuff in

But this is more of integrating component in to addon and not regarding how to create your addon UI independently in react. Any idea?


ramiro Atlassian Team May 18, 2018

You can refer to AP by using `window.AP`:


window.AP.require("endpoint", function(request) { 

  request({ url: "/badges",

  type: "GET",

  contentType: "application/json",

  success: success, error: error });

HI Shivprasad,


I hope you have completed your addon by now. I was wondering, is it possible to create a multipage react add-on on Jira? 


I already have an existing react application which I want to deploy it in Jira as an add-on.


Furthermore, I have created 2 pages sample create-react-app application but its routing does not work. 

Please help if you have a bit of experience in this, or if you have any sample code.



Sorry for late reply. we did not create multi page react addon. We can configure multiple entry points. But with multiple entry points, chunk loading performance is an issue




Log in or Sign up to comment

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