The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ACLI Export Space with whitespaces

Javier Pérez Martin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 28, 2020

I'm trying to use ACLI Addon for backuping spaces individually. The problem is that I've some spaces with whitespaces like "My Space".

I've tried quoting the name of the space, removing the whitespace, and no one of that ways works for me.

Is there any way to proceed to solve this problem?

Thanks in advance

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Avinash Bhagawati _Appfire_
Community Champion
April 29, 2020

Hi @Javier Pérez Martin ,

Welcome to Community and thanks for posting your Atlassian Command Line Interface ( CLI) query in this platform !

With the help of exportSpace action and space parameter you will be able to export the space and please use space key as value for space parameter. Please find below sample action for your reference.


--action exportSpace --space "DS" --file "demospaceXml.zip"

In above action, DS refers to space key of space called Demo Space.

Please find below screenshot on how to get space key for space.
spacekey.png

Also please find below CLI action to get all space name with space keys.

--action getSpaceList --columns "Name,Key" --outputType table

Also we have raised a support request SUPPORT-3939  in our portal for this requirement, please sign up and try to access the support request for further discussion and If you still see any issues on it, please add --debug to action you are running and provide complete debug logs.

--action exportSpace --space "DS" --file "demospaceXml.zip" --debug

Note: Once you run the command CLI action by appending --debug, debug logs will get displayed on the screen(Terminal/command prompt). Please copy and paste all the logs along with the command into a file and attach the file to this support request.

Thanks,

Avinash

Javier Pérez Martin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2020

Hi @Avinash Bhagawati _Appfire_ 

 

I've try it using spaces keys and it works fine! :D

Thank you so much for your help!!

Kind Regards!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events