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
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events