Hi All,
I want to create new page or Update an existing page in confluence.
Is there any plugins available doing this.
or
Please guide me how to create a plugin to perform these actions.
Thanks
SwathiKumar
Community moderators have prevented the ability to post new answers.
This is a little older but I don't think the API has changed all that much.
You can also use the Confluence CLI and the remote API if you have a preference for scripting.
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.
Hi Bob
I am using CLI for adding the page in confluence.
These are the steps i followed for installing
1. Downloaded binary
2. I Placed it in one directory and verified Remote API was enabled in confluence
3. And opened confluence.sh file in editor mode and added server configurations as below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
4. Then i did
confluence --action storePage --space "AAAT Rollout" --title "Test Page" --content "Test Add Content"
it is giving the error message
-bash: confluence: command not found
Please guide me what is the wrong i did.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
-bash: confluence: command not found
Does the "confluence" command is set in your Linux Path, or it have a simlink to any dir that makes part of your path?
nwildner@example:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
To "cofluence" be a valid command on the Linux shell, he needs to be on the PATH dirs, or at least, have a simlink to these dirs. And, if you want to run locally a script, you need to first give the execute permission, and ran it with the ./ append
nwildner@example:~$ chmod +x confluence.sh nwildner@example:~$ ./confluence.sh --action storePage --space "AAAT Rollout" --title "Test Page" --content "Test Add Content"
;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Yes, you are correct it is not a human clicking "create"
every day i have to store some content into the confluence either creating a new page or updating a existing page.
Please guide me on this.
thanks
SwathiKumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You do know you can just click "create new page"? I'm sorry if that seems patronising, but what I'm trying to point out is that you need to define in what circumstances you want to create a new page? I assume it's not a human clicking "create", so if you could give a bit more detail on what you're trying to do, then you will probably get some more helpful and detailed answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.