Hi there! I am trying to create page with link to another Confluence page using rest API. In storage format link macros is
<ac:link><ri:page ri:content-title="{ref}" /><ac:plain-text-link-body><![CDATA[{name}]]></ac:plain-text-link-body></ac:link>
where
{ref} - Title another confluence page
{name} - Showed link name
But this doesn't work for me. When i am trying to create page with API using this code i getting error.
I have found another example which works for me
<ac:link><ri:page ri:content-title="{ref}" /></ac:link>
where
{ref} - Title another confluence page
but i can't set link name.
How i can create link to another Confluence page with link name setting?
P. s.
Common link creating is not suitable for me
<a href="{ref}">{name}</a>
Hi,
if an additional App is an option for you. We have developed "AutoPage" that covers the whole topic of automated page creation. You canset the link name but the main value is the possibility to create pages from templates with jira issue content. So you get pages with content you already produced in Jira without manual effort (and manual errors).
You can find it in the marketplace and try it for free:
Cheers
Armin
I have found solution
<ac:link><ri:page ri:content-title=\"{ref}\"/><ac:link-body><span>{name}</span></ac:link-body></ac:link>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.