You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello Community,
I am trying to migrate confluence spaces using Confluence Cloud Migration Assistant, but it's mandatory to review all the domains manually to migrate the spaces successfully.
I have around 2700 domains and it would take a lot of time to review them all. Is there a way to bulk review all the domains to save time and effort?
Attached Screenshots
Thank you,
Hi, I was able to accomplish by running a zsh for loop with Bob Swift's CLI:
for x in (`cat domainlist.txt`)
do
acli jira --action renderRequest --requestType PUT --request '/rest/migration/latest/email/domain-rules' --requestParameters "{\"domainName\":\"$x\",\"rule\":\"TRUSTED\"}" --contentType JSON
done
(I generated domainlist.txt by dumping a list of users and emails and then grepping for any domains that were not my domain, and then using cut to remove everything but the domain name.)
(Note that I only use Bob Swift's CLI because trying to do all the authentication handshaking stuff with Python always makes my head hurt, and all I have to do with CLI is use my username and password or Personal Access Token. :-}
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.
And here is a short way to produce domain list from PostgreSQL database:
echo "select distinct (string_to_array(email_address, '@'))[2] from cwd_user" | psql --tuples-only --no-align -U confluence -h localhost confluence > domainlist.txt
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.
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.