<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Syntax issue with Zendesk New/Updated Ticket Description and creation in Jira in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/syntax-issue-with-zendesk-new-updated-ticket-description-and/m-p/6822#M2939</link>
    <description>&lt;P&gt;I am setting up a recipe that takes a new/updated Zendesk ticket (in real time) and then creates the issue in Jira. I'm running into an issue with the 'Description' output for the 'New/updated ticket in Zendesk' action. The description comes back formatted as Zendesk HTML (or the equivalent) with line breaks. I'm using the Jira 'Create Issue' API to create my Jira issue passing in the description as is results in a syntax error. If I manually remove the line breaks and replace them all with \n and run the API call, it's successful and displays correctly in my Jira issue (apparently \n is what Jira uses for line breaks).&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now my question..... is there anyway I can replace the line breaks within Workato with \n so I can get my recipe to run successfully?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-05_08-15-43.png" style="width: 794px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1330iF1E65BD69B2CC807/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2024-06-05_08-15-43.png" alt="2024-06-05_08-15-43.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-05_08-19-43.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1331iA351D2F7E09FCF63/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="2024-06-05_08-19-43.png" alt="2024-06-05_08-19-43.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 13:22:47 GMT</pubDate>
    <dc:creator>chrisjgreen08</dc:creator>
    <dc:date>2024-06-05T13:22:47Z</dc:date>
    <item>
      <title>Syntax issue with Zendesk New/Updated Ticket Description and creation in Jira</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/syntax-issue-with-zendesk-new-updated-ticket-description-and/m-p/6822#M2939</link>
      <description>&lt;P&gt;I am setting up a recipe that takes a new/updated Zendesk ticket (in real time) and then creates the issue in Jira. I'm running into an issue with the 'Description' output for the 'New/updated ticket in Zendesk' action. The description comes back formatted as Zendesk HTML (or the equivalent) with line breaks. I'm using the Jira 'Create Issue' API to create my Jira issue passing in the description as is results in a syntax error. If I manually remove the line breaks and replace them all with \n and run the API call, it's successful and displays correctly in my Jira issue (apparently \n is what Jira uses for line breaks).&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now my question..... is there anyway I can replace the line breaks within Workato with \n so I can get my recipe to run successfully?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-05_08-15-43.png" style="width: 794px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1330iF1E65BD69B2CC807/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2024-06-05_08-15-43.png" alt="2024-06-05_08-15-43.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-05_08-19-43.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1331iA351D2F7E09FCF63/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="2024-06-05_08-19-43.png" alt="2024-06-05_08-19-43.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 13:22:47 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/syntax-issue-with-zendesk-new-updated-ticket-description-and/m-p/6822#M2939</guid>
      <dc:creator>chrisjgreen08</dc:creator>
      <dc:date>2024-06-05T13:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax issue with Zendesk New/Updated Ticket Description and creation in Jira</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/syntax-issue-with-zendesk-new-updated-ticket-description-and/m-p/6825#M2942</link>
      <description>&lt;P&gt;Try using this gsub/regex combo on the Description data pill:&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;[description].gsub(/[\r\n]+/, "\\n")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 15:41:59 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/syntax-issue-with-zendesk-new-updated-ticket-description-and/m-p/6825#M2942</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-06-05T15:41:59Z</dc:date>
    </item>
  </channel>
</rss>

