Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

To fetch version number of Confluence page

Arya Soman June 23, 2023

Hi Team,

Is there any way to fetch the version number of Confluence page. 

Thank You!
Reagards,
Arya

1 answer

0 votes
Dan Breyen
Community Champion
June 23, 2023

Hi Arya, I found an older Community Post that seems to have the information you're looking for .  Check it out: Current Version 

Hope that helps

Arya Soman June 26, 2023

Hi Dan,
Our exact requirement is, In jira we have an Automation to create Confluence page whenever jira issue got created. Now we want the update the Confluence page when jira issue status changes. Currently we are trying the update the page using the below custom body:
{
"id":"294060036",
"type":"page",
"title":"Confluence Testing",
"space":{"key":"DEV"},
"body":{
"storage":{"value":
"<p>This is the updated text for the new page</p>",
"representation":"storage"}
},
"version":{"number":2}}
Here in the custom body we are manually giving the version number.
While updating the page, each time the version number of the page is getting changed. Is there any way to fetch the version number of the page from jira Automation.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events