Add Url to JIRA Description Field
Asked by Rayman Bacchus:

Hi All:

I have an IFTTT integration that creates the JIRA ticket:![IFTTT Integration.png](https://community.atlassian.com/t5/image/serverpage/image-id/312226i001AE23D527D2D8C/image-size/large?v=v2&px=999 "IFTTT Integration.png")

I also have a url field in the Confiforms called ConfluencePageName (this is a url)  

is there a way for my to add the field ConfluencePageName to the description field in JIRA so users can access the url?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Rayman Bacchus](/t5/user/viewprofilepage/user-id/4958603)

As per <https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all>

You can do something like

    [[entry.ConfluencePageName]]

Alex

comments: author: Rayman Bacchus
body: not sure that works. When I try the solution I get a JSON error:  

JIRA Issue CreatedCould not prepare JSON: '{ "fields": { "project":{ "key": "CFADPF"}, "issuetype": { "name" : "Feature" }, "priority": { "name": "Medium" }, "summary" : "TEsts Prevent Intake - html LInk - NO ACTION REQUIRED", "labels" : \["CIT-Generated-Request","partner-led"\], "description" :"\*Project Funded:\* No\\n\\n\*Intake Reference:\* FY2024-595\\n\\n\*Confluence Page Reference\*\[[FY2024-595: TEsts Prevent Intake - html LInk - NO ACTION REQUI Intake Meeting](https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcollaborate.td.com%2Fpages%2Fviewpage.action%3FpageId%3D2383245257&data=05%7C02%7C%7Cfc66bfe26ead4a54057308dc44d35f64%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638460921834103387%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=PlY4MhHWZbnTx8KEpokdNy5i%2BGY9NGHQj0H%2Fdtfo0bg%3D&reserved=0)\]\\n\\n\*Project Overview:\* This is the Project Overview.\\n\\n\*Problem Statement:\* This is the Problem Statement\\n\\n\*High Level Requirements:\* These are HL Requirements: 1, Email notification to go out to Ali, Nehal and Roy, whenever a JIRA Issue is created on CFADPF from the Intake Form Rayman Comments: This is complete (sample of email attached) 2. In the description field, also pass on the following a. Project Funded: Yes or No b. Confluence Link included to the Intake Request c. Project Overview (see screenshot below) d. Problem Statement (see screenshot below) e. High Level Requirements (see screenshot below) f. Fraud Impact (see screenshot below) g. Fraud Benefits (see screenshot below) h. Operational\\/Financial Key Results (see screenshot below) 3. Pass the Label field populated as: Fraud Funded OR Partner Funded 4. Pass a label as CIT-Generated-Request so that we can differentiate on what was created within our JIRA project vs what as logged from the CIT form\\n\\n\*Fraud Impact:\* This is where the Fraud Impact would go\\n\\n\*Fraud Benefits:\* These are the Fraud Benefits\\n\\n\*Operational/Financial Key Results:\* Put any OKR's here\\n\\n", } }'. Invalid format. Expected a ',' or '}' at 410 \[character 120 line 8\]


author: Alex Medved _ConfiForms_
body: Ok, is it an url or a piece of html representing a link!?


author: Rayman Bacchus
body: I think it's a full url


author: Alex Medved _ConfiForms_
body: what is full url? HTML representing a link?


author: Rayman Bacchus
body: This is what it looks like on the form  

\<a href=[https://collaborate.td.com/pages/viewpage.action?pageId=2384513881](https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcollaborate.td.com%2Fpages%2Fviewpage.action%3FpageId%3D2384513881&data=05%7C02%7C%7C1bffd49cc1584d0a651808dc44de012f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638460967490993377%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=2yYNT1VudA84iBzy%2BqkglcYr%2BVyRyi3f2558T8RdxE0%3D&reserved=0)\>FY2024-581: FICO MCOM Intake Meeting\</a\>


author: Alex Medved _ConfiForms_
body: OK, a piece of HTML

Try this then

    [[entry.ConfluencePageName.htmlToWiki]]


author: Rayman Bacchus
body: Thanks Alex, that worked! I didn't need the first brace brackets, so the solution was this:

`[entry.`ConfluencePageName.htmlToWiki`]`


author: Alex Medved _ConfiForms_
body: Yes, right... as it will already be a wiki markup with all the necessary things


Tags: confiforms

confluence-data-center

data-center

ifttt