User Data
Smart Project Config & Documentation is designed to not store any user data, therefore the migration to cloud is really simple.
Config Data
SmartConfig
Smart Project Config & Documentation is storing in the project properties the following attributes:
Options of the last documentation generated
Issutypes of the last documentation generated
Export to Confluence History
For one project you can get this property using the Jira REST API https://docs.atlassian.com/software/jira/docs/api/REST/9.4.0/#api/2/project/{projectIdOrKey}/properties-getProperty.
1. Perform a GET call to:
{JIRA_URL_BASE}/rest/api/2/project/TEST/properties/smartConfig
The result is:
{ "key": "smartConfig", "value": { "options": "projectInformation,projectSchemes,projectIssuetypes,projectVersions,projectComponents,projectMembers,projectCustomfields,projectGlobalActions,projectWorkflowActions", "issuetypes": "10002#Task,10003#Sub-task" } }
Where the issuetypes attribute has the issuetypeId#issuetypeName of each issuetypes you got the documentation last time.
2. Replace the Jira Server/DC issuetypeIds by the corresponding Cloud issuetypeIds
In Cloud you can set a project property using the Jira REST API https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-properties/#api-rest-api-3-project-projectidorkey-properties-propertykey-put
1. Perform a PUT call to:
{JIRA_CLOUD_URL_BASE}/rest/api/3/project/TEST/properties/smartConfig
with the value of the smartConfig property value as body data
{ "options": "projectInformation,projectSchemes,projectIssuetypes,projectVersions,projectComponents,projectMembers,projectCustomfields,projectGlobalActions,projectWorkflowActions", "issuetypes": "10002#Task,10003#Sub-task" }
View Smart Inline Helper Permission
To set the same permissions to Smart Inline Helper feature, grant Smart Inline Helper Permission in the expected permission schemes on Cloud as a Jira Administrator.