Last updated Dec 14, 2021

Rate this page:

Migration Feedback channel

This page describes how to send feedback from your cloud app to the server app, and how to fetch feedback in your server app about the migration.

Send feedback from your cloud app

Your cloud app can use the Feedback channel API to send feedback about the migration to your server app.

New feedback will overwrite any existing feedback. The feedback object is a Optional<Map<String, Object>>.

About the Feedback channel API

Use the following endpoint to send feedback from your cloud app to the server app:

MethodEndpoint
POSTmigration/feedback/{transferId}

In the endpoint above, specify the {transferId} that you want to send feedback about.

See an example

This section shows you an example of a request and response to send feedback.

  • Sample request

    1
    2
    3
    curl -X POST "https://your-site.atlassian.net/rest/atlassian-connect/1/migration/feedback/26925583-10bd-49fb-b67c-15fc2447a97b" \
    --header 'Content-Type: application/json' \
    --data-raw '{"key1":["your feedback1"],"key2":"value"}'
  • Sample response

    1
    200 OK

The example above is part of our sample app.

Fetch feedback in your server app

Your server app can use the App cloud migration library to retrieve feedback about the migration sent by your cloud app.

See an example

1
Optional<Map<String, Object>> cloudFeedbackResponse = gateway.getCloudFeedbackIfPresent(transferId);

Rate this page: