I am working on dc to cloud migration, and when user migrate our app to cloud, i want to take user properties data which we save in dc to be exported to cloud for seamless transition so that user does not set preferences again. is there any way to export user properties from dc?
Hi! I'm the community manager at Exalate.
When migrating from Jira DC to Cloud, user properties don’t get transferred automatically, because they are saved in a different way from normal user data.
What I recommend is:
Use a script (with ScriptRunner, REST API, or custom solution) to extract the user properties from DC using /rest/api/2/user/properties
.
Save this info temporarily (maybe as a JSON or in a small database).
Then, after moving to Cloud, you can send back the properties using the Cloud API /rest/api/3/user/properties
.
There’s no direct migration option for this, but it’s possible to do it with a small workaround.
Hi @Ankit Negi
Welcome to the community.
I don't know or am able to find to export user properties.
In the Cloud migration assistant this is not migrated from Server/DC to Cloud, it also mentioned that it isn't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we can run a script in our dc app to export some app related data to cloud, in that i want to export user properties.
here, I can access application properties (https://mvnrepository.com/artifact/com.atlassian.jira/jira-application-properties-plugin) and export it, but is there any way of accesing user properties?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ankit Negi
Via the API you can reach the user properties. see https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/user/properties
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.