The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I have been able to update a Confluence page via the API using the wiki storage type ("representation":"wiki") however everything goes in as a single line unless I explicitly add "\n" at the end of each line. Is there a way to push this data without having to do that?
Thanks.
Hi Dennis,
Are you using some other character as a newline terminator when constructing your content?
Wiki markup is line-sensitive so I'm not sure how you could get away without line terminators - but am curious what you are trying if you can share a snip of the wiki markup you are hoping to save.
The issue seemed to be with the ConfluencePS module I was using. I switched to a different one updated to use PAT (https://github.com/jamiekowalczik/ConfluencePS) and the problem was resolved. I had to add my PAT to the powershell module; I'll probably update the code to get that from an encrypted file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.