Skip to content

Delete/archive wiki page when source file is deleted #9

@KevinGDialpad

Description

@KevinGDialpad

When foo.md is deleted, or renamed bar.md or moved to baz/qux.md, the original page should be deleted as well.

This is tricky because you don't really delete a page in Confluence - you archive it, then it can be deleted from the archive. There are several problems:

  • the user may have permission to archive a page, but not to delete it
  • if the file is added back later and the page is still in the archived state, the script will try to update it (since it already exists), but won't be able to (because an archived page is read-only)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions