Forums

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

Use JSON value on Confluence API Page Property

Tiele Declercq August 25, 2023

Hi,

We have a long list of pages with a page properties with a top page listing these properties in a Page Properties Report.

Now I need to use these values inside an automation. In our example, I want to use the documented user to a custom field in Jira.

Can you guys confirm that I need to fetch the body of the page and process the content using a smart value .match() regexp?

I am now trying to process the regex the html but this is really error prone. When using

https://***.atlassian.net/wiki/api/v2/pages/123456?&body-format=atlas_doc_format

The value webResponses.body.body.view.value contains the full body in a JSON format. Is there a way within Automation to decode this JSON?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events