Skip to content

Add Version.Message handling to Set-Page#218

Open
JoseAPortilloJSC wants to merge 1 commit intoAtlassianPS:masterfrom
JoseAPortilloJSC:AddVersionMessage
Open

Add Version.Message handling to Set-Page#218
JoseAPortilloJSC wants to merge 1 commit intoAtlassianPS:masterfrom
JoseAPortilloJSC:AddVersionMessage

Conversation

@JoseAPortilloJSC
Copy link
Copy Markdown

@JoseAPortilloJSC JoseAPortilloJSC commented Apr 29, 2026

Adds support for setting a version message when updating a Confluence Page.

(valid for the "byObject" ParameterSetName, i.e. piping the page to the cmdlet, or passing the page as -InputObject)

Usage:

$page = Get-ConfluencePage -PageID $pageId
$page.Body = $body
$page.Version.Message = "Updated by Octopus Deploy on $utcNow, deployed by $operatorName"
$page | Set-ConfluencePage

Result: Non-empty Comment field for change

imagen

[✓] No AI tools were involved.
[✓] Fixes #207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow version comment to be included in Set-ConfluencePage

1 participant