Hello there, I'm using python and update_page() function to post some html. Using something like:
<p>https://example.atlassian.net/browse/EXA-123</p>
will be plain text, however is it possible to reach an output like the one on attachment?This view is being done automatically when i copy-paste JIRA link manually, however I've no idea how to reach it with html.
'<p><a href="{url}" data-card-appearance="inline" class="external-link" rel="nofollow">"{url}"</a></p>'
working html format ;p
Hi @Szymon Kołodziej
I would suggest you not using HTML, instead use the storage format of confluence.
Then you will notice, that a jira issue is like so:
<ac:structured-macro ac:name="jira"ac:schema-version="1"ac:macro-id="1e82e54a-c515-4a93-b86f-d4b3a83427ce"><ac:parameter ac:name="server">Jira</ac:parameter><ac:parameter ac:name="columnIds">issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution</ac:parameter><ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter><ac:parameter ac:name="serverId">ff94f833-c264-3d1f-a236-7bdb5d13106c</ac:parameter><ac:parameter ac:name="key">JIRA KEY</ac:parameter></ac:structured-macro>
Regards, Dominic
I found option with html since your solution returned me some error.
It looks like you're new here. Sign in or register to get started.