You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 47 Next »

This is the documentation for ConfiForms CLOUD app

ConfiForms app on Atlassian marketplace


Since ConfiForms version 2.20 we now support automatic migration of your forms and data from server to cloud

Please see Differences between ConfiForms server/data center and ConfiForms cloud, as the functionality of cloud version differs from server/data center version

What to expect

  • ConfiForms form and views configurations are migrated automatically as they are part of Confluence pages
  • ConfiForms migration service (part of Confluence Cloud Migration Assistant) migrates your form's data to cloud, automatically fixing pages, attachments and user references
  • ConfiForms migration process also fixes forms' configurations for smart fields and ConfiForms IFTTTs (page references, user/group references)


ConfiForms expects you to migrate the WHOLE instance, as only this way it can fix the usernames to be user accounts, fix user groups, change pages to match the pages on cloud and re-link attachments and fix form configurations (smart fields)

Especially the ones that span across multiple Confluence spaces


ConfiForms relies on Confluence search to find the pages with ConfiForms forms

Make sure you have search index is in-sync and is up to date. See more Content Index Administration.


Please raise a ticket if something is still un-migrated or broken after the migration and we will try to fix it. 

IMPORTANT

Make sure you have updated ConfiForms app to version 3.5.1 or later. It is highly recommended that you use absolutely LATEST version of ConfiForms for the cloud migration

See our Release Notes and versions https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=datacenter&tab=versions

Important note. Please read before migration

Migration initiated through CCMA could not complete on certain configurations, see this blocking bug https://jira.atlassian.com/browse/MIG-837

We are waiting for Atlassian to get it fixed / implemented

While this is getting fixed, the workaround would be as follows: you go through the CCMA migration and then go to your cloud instance and make sure all the pages that have ConfiForms Form Definition macros are accessible to ConfiForms app system user (for example it is accessible to confluence-users group) and then re-run the migration for ConfiForms as shown in step #6 below


We have been notified by another bug in CCMA that affects us

https://jira.atlassian.com/browse/MIG-839

https://jira.atlassian.com/browse/MIG-856

https://jira.atlassian.com/browse/MIG-855


https://community.atlassian.com/t5/Confluence-questions/App-Migration-to-cloud-We-can-t-communicate-with-your-server/qaq-p/1825437

Pre-migration

Make sure you read and understand the differences and accept that the plugin functionality on cloud could not be as versatile as on server/data center. And this is mainly due to differences in hosting platforms and APIs we are allowed to use

Differences between ConfiForms server/data center and ConfiForms cloud

ConfiForms relies on the data provided by Confluence search API.

Make sure you have search index is in-sync and is up to date. See more Content Index Administration.

Also, please run the pre-check report on your Confluence server to understand what forms and pages will have differences in functionality

This is available in the Confluence administration → ConfiForms configuration → Cloud Migration

Direct link

https://YOUR_SERVER/admin/vertuna/confiforms/config.action

Migration process 

And this is step number 0 really - please see the Prerequisites on the right to make sure everything mentioned there is done and understood


1. You need to install ConfiForms on cloud instance and generate API token (ConfiForms app configuration - accessible through Confluence administration)


2. Register your cloud instance to receive migration events


3. This token needs to be registered in ConfiForms server app (ConfiForms app configuration, Manage apps → ConfiForms → Configure)


4. Make sure ConfiForms app user is set to be administrator of your Confluence instance for the time of migration at least. Also see the "How to understand the errors" section and consider registering a super user account in the ConfiForms app configuration

5. Start your migration process using Confluence Cloud Migration Assistant (CCMA). Follow documentation on https://www.atlassian.com/migration/cloud/guide/introduction/overview and dont forget to select ConfiForms as required in Cloud when you assess your installed apps (https://www.atlassian.com/migration/cloud/guide/assess/audit-apps)

More on Atlassian CCMA


As CCMA is currently in beta you need to enable "dark feature" as per documentation on 

https://developer.atlassian.com/platform/app-migration/getting-started/

Screenshot below:


6. ConfiForms migration process will start automatically by CCMA. But you can always re-run it if necessary through the ConfiForms app configuration / migration section


Prerequisites 

Your Confluence server must have access to app.confiforms.net

At the moment we have the following IP addresses

  • 143.244.202.153
  • 198.211.107.220
  • 147.182.163.216

(uses HTTPS for communication, port 443 (SSL), communication is one way - from your server to ConfiForms app servers)

Confluence search index

ConfiForms relies on the data provided by Confluence search API.

Make sure you have search index in-sync and up to date. See more Content Index Administration.

Migration compatibility report

Migration compatibility report might be incomplete, as ConfiForms is very flexible at what you can do and how forms could be built and configured.

At the moment we dont support configurations in user macros (which is perfectly supported by the plugin itself). This is work in progress.

Also expressions using virtual functions via [entry.field_name] notations which are not used within macro parameters, but, for example, in macro body (PlainViews or ListViews/CleanViews) are not analyzed / processed.


Current issues

There is a blocking issue with space permissions for the automatic migration path. Atlassian is aware of that and trying to come up with a solution.

We offer a way to "re-run" the migration after it has been ran by CCMA by starting a long running task. This allows you to fix the possible permissions issues and allow ConfiForms app system user to access and  update the pages it needs to update (to fix possible configuration issues with smart fields, to move the data from server to cloud)


https://jira.atlassian.com/browse/MIG-837

https://jira.atlassian.com/browse/MIG-839

https://jira.atlassian.com/browse/MIG-856

https://jira.atlassian.com/browse/MIG-855


How to give permissions to ConfiForms app user

ConfiForms full system user name is 

com.vertuna.confluence.plugins.confiforms

UPDATED

ConfiForms App user in cloud has a new name



Shown then as a normal user in the restrictions



How to understand the errors

Most common errors during the migration is the lack of permissions (restricted pages). See this fundamental flaw in Atlassian platform - https://jira.atlassian.com/browse/MIG-837

There are 2 common issues

  • Missing view permission 
    Page id = XXXXXX -> Error: (fix-form-configuration) Requested to  https://app.confiforms.net/rest/api/v1/fix-form-configuration/XXXXXX/TRANSFERID?contentOwnerId=ZZZZZZZZ&serverPageId=YYYYYYYY  has resulted in an error. Response code = 404 (method ='GET'). Response contents: {"timeStamp":"2024-06-21T09:34:53.954+00:00","message":"Page by id 'XXXXXX' not found","error":"Not Found","status":404};
  • Missing edit permission (sometimes ConfiForms needs to adjust form's configurations and need to edit the page to do that) 
    Page id = XXXXXX -> Error: (fix-form-configuration) Requested to https://app.confiforms.net/rest/api/v1/fix-form-configuration/XXXXXX/TRANSFERID?contentOwnerId=ZZZZZZZZ&serverPageId=YYYYYYYY has resulted in an error. Response code = 403 (method ='GET'). Response contents: {"timeStamp":"2024-06-21T09:35:29.929+00:00","message":"403 Forbidden: "{"statusCode":403,"data":{"authorized":false,"valid":true,"errors":[],"successful":false},"message":"com.atlassian.confluence.api.service.exceptions.PermissionException: Could not update Content of type : class com.atlassian.confluence.pages.Page with id XXXXXX"}"","error":"Forbidden","status":403}

The easiest fix would be to remove restrictions and to retry the migration

Also makes sense to register an administrator account (that has enough permisions) that ConfiForms could use as a fallback to try to do the above mentioned actions

 This is done in the ConfiForms app configuration on cloud

https://YOUR_INSTANCE.atlassian.net/wiki/plugins/servlet/ac/com.vertuna.confluence.plugins.confiforms/confi-forms-admin?user.isExternalCollaborator=false


  • No labels