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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found option with html :p since your solution returned me some error.
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.