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, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events