Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Python code listed below are examples on how to extract Confluence users to CSV or XLSX export format via REST API and servlets.

...

Info

These scripts should be run as executed with credentials from a Confluence user with administrator or system administrator global permissions.

...

  • CONFLUENCE_USERNAME = Confluence username

  • CONFLUENCE_PASSWORD = Confluence password

  • CONFLUENCE_BASEURL = Confluence url eg. https://jira.yourdomainyourconfluence.com

  • CONFLUENCE_CSV_FILE_NAME = Name of the file to generate

...