About the Cloud Migrations category

This category is for developers who are interested in discussing server to cloud migrations of their apps.

Hi Akassab,

I am into the JIRA server to Cloud Migration. Here I can able to notify the JIRA CLOUD MIGRATION ASSISTANT (JCMA). But I have the Atlassian Express Connect Cloud app, to receive the notifications from the Server app through webhook process.

Atlassain Documnetation : Getting Started

curl -X PUT ‘https://your-cloud-site/rest/atlassian-connect/1/migration/webhook’
–header ‘Content-Type: application/json’
–data-raw ‘{“endpoints” : [“https:///”,“https:///”]}’

For this, I am trying to register some dummy( let’s assume which will be by webhook url) for /migration/webhook endpoint but i am getting error like this when registering the endpoints

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>**401****Client must be authenticated to access this resource**.

Is there any solution to me, to work with Atlassian connect express framework on node js implementation

1 Like

Hi Dharma,

In order to send any request to a site via connect, you need to ensure the followings:

  1. Your cloud App should be installed on the site, so that your app and connect will have a shared secret. I assume you know this.
  2. Each request to cloud site from your cloud service should be singed by the same secret, or in other words it should have JWT in the request

Here is a link for further read about Atlassian Connect.

There is a Node.js example for Atlassian Connect - here.

However, there is no sample App for App Migration in Node.js.

Here is what I suggest:

  1. Use the Atlassian connect sample app as your basic example
  2. Then add the App migration endpoints call with the help of our documentation.

Let me know if you need any further help. Thank you.

Regards,
Anshuman

3 Likes

Please create a new post to ask a question. Thank you!