The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.