This one should be easy, but I've spen over 3 hours on this trying to resolve.
I have an onModified IFTTT in Confiforms that is supposed to add a Confluence Page link when a certain Domain is selected. I have the following command:
"description": "*[entry.InitiativeName.escapeJSON]* \n\n *Request Type:* [entry.RequestType.label] \n\n *Intake Reference Number:* [entry.IntakeNumber] \n\n *Intake Reference Link:* [entry.FraudPageId.formatLink(https://collaborate.td.com/pages/viewpage.action?pageId=)]
for some reason it is throwing an error: Could not prepare JSON:
I know it is the bolded piece that is creating the error because when I remove it the onModified works as expected.
Hoping someone can help me out with this and what my issue is as it is giving me migraines.
[entry.FraudPageId.formatLink(https://collaborate.td.com/pages/viewpage.action?pageId=).escapeJSON]
Hi Alex:
Your answer currently shows me this in the JIRA Page:
Confluence Page Link: <a href="https://collaborate.td.com/pages/viewpage.action?pageId=2633475262" target="_blank">2633475262</a> target="_blank">2633475262</a>
I was able to figure it out by adding a hidden field in my Form to capture the actualy Page Link, so the link works now:
Confluence Page Link: https://collaborate.td.com/pages/viewpage.action?pageId=2633475262
I was just hoping I could mask the hyperlink with text line "Here"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does your field in Jira is actually capable of rendering a HTML?
Maybe you need to pass the wiki markup?
[[entry.FraudPageId.prepend(https://collaborate.td.com/pages/viewpage.action?pageId=).escapeJSON]]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. THe JIRA field is the Description field so it can render HTML. The solution you provided does work, but it produces the same result as if I use
*Confluence Page Link:* [entry.FraudPageLink].
I'll accept your answer and thank you as always.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unless you have changed that, but https://confluence.atlassian.com/adminjiraserver/configuring-renderers-938847270.html
The description field uses wiki renderer and therefore does not like the HTML contents and expects the wiki format
True that it can render a link (-like text) as a hyperlink
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.