Hi Atlassian community,
I am having trouble trying to add the URL of the created JIRA ticket to an email after a Confiform has been submitted.
The form works fine, the JIRA ticket is successfully created and the email is sent with no problems. However I can't get the URL to show up properly.
I've tried:<a href=
"https://jira.com/browse/${iftttResult_0}"
>https://jira.com/browse/${iftttResult_0}</a>
Which doesn't work, in the email it shows up as a raw string.
Any help would be much appreciated
Links in Confluence pages, especially dynamically constructed links, are quite tricky to do.
As Confluence wants to be able to know what the link is in order to understand if that should be updated on certain scenarios and also to count incoming/outgoing links to the page
The easiest way to achieve what you need is to use HTML macro and place your link there.
As what happens now is that the link you put gets escaped really and does not look like a link anymore when placed directly into the editor
Thank you for your reply.
I've tried putting the above code snippet of mine into an HTML Comment macro and it does not show up as a URL, just the literal string again.
If I put ${iftttResult_0} by itself, it will show XYZ-123 as expected, which is the key of the JIRA Ticket.
I'm stumped at how to concatenate these two strings (base url + jira ticket key) and potentially make it a clickable link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's one of the macros that show up in the macro browser when I search "html".
The docs point to html comment macro
Some other things that show up when searching "html" are "confiforms cleanview", "confiforms plainview", and "html-bobswift".
Sorry I'm fairly new when it comes to using ConfiForms
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try to use “html” macro? I have no idea what a “html comment” macro is and where/when to use it
to be clear - html macro is not part of ConfiForms, and we really trying to solve here a dynamic link problem… not really something very specific to ConfiForms
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.