Task: ProdPad to YouTrack

n8n workflow JSON:
{"id":"8","name":"prodpad2youtrack","nodes":[{"name":"Webhook","type":"n8n-nodes-base.webhook","position":[700,250],"parameters":{"path":"pp2yt","options":{"rawBody":false},"httpMethod":"POST","responseMode":"lastNode"},"typeVersion":1},{"name":"FunctionItem","type":"n8n-nodes-base.functionItem","position":[1010,250],"parameters":{"functionCode":"var body = {};\nbody.summary = item.body.title;\n\nbody.description = \"\";\n\nbody.usesMarkdown = true;\n\nif (item.body.description.length) {\n    body.description = item.body.description;\n}\n\nif (item.body.functional_spec) {\n    body.description += \"<h2>Functional Specs:</h2>\\n\\n\"+item.body.functional_spec;\n}\n\nif (item.body.notes) {\n    body.description += \"<h2>Notes:</h2>\\n\\n\" + item.body.notes;    \n}\n\nif (item.body.business_case) {\n  body.description += \"<h2>Business Case</h2>\";\n  if (item.body.business_case.problem) {\n    body.description += \"<h3>Problem:</h3>\" + item.body.business_case.problem;\n  }\n  if (item.body.business_case.value) {\n    body.description += \"<h3>Value:</h3>\" + item.body.business_case.problem;\n  }  \n}\n\nbody.description += \"<h3>ProdPad:</h3><a href='\"+item.body.web_url+\"' target='_blank'>\"+item.body.web_url+\"</a>\";\n\nbody.project = {\"id\":\"0-1\"};\nbody.externalIssue = {\n    url:item.body.web_url, \n    name:item.body.title, \n    key:item.body.project_id\n};\nbody.customFields = [\n    { \"name\":\"Effort\",\"value\":parseInt(item.body.effort_scaled), $type:\"SimpleIssueCustomField\" },\n    { \"name\":\"Impact\",\"value\":parseInt(item.body.impact_scaled), $type:\"SimpleIssueCustomField\" },\n    { \"name\":\"Type\",\"value\":{\"name\": \"Task\"}, $type:\"SingleEnumIssueCustomField\" },\n];\nreturn {body:body};\n\n"},"typeVersion":1},{"name":"Youtrack OUT","type":"n8n-nodes-base.httpRequest","color":"#00DD12","position":[1300,250],"parameters":{"url":"https://YOURYOUTRACROOTURL/api/issues","options":{},"requestMethod":"POST","authentication":"headerAuth","jsonParameters":true,"bodyParametersJson":"={{$node[\"FunctionItem\"].data[\"body\"]}}"},"credentials":{"httpHeaderAuth":"youtrack-permanent"},"typeVersion":1}],"active":true,"settings":{"timezone":"Europe/Berlin"},"connections":{"Webhook":{"main":[[{"node":"FunctionItem","type":"main","index":0}]]},"FunctionItem":{"main":[[{"node":"Youtrack OUT","type":"main","index":0}]]}}}