Problem when sync "title" from Zendesk to Jira ticket

I encounter a problem with my workflow when sync “title” from Zendesk to Jir​a with title & error as below. Anyone know how to fix this ?

★☆☆☆☆ Need a feature to change phone number in my account

image

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Tien_Nguyen

Could you share your parameters / configuration for this node?
You can select the node and copy it and then paste it in here in between two block quotes (```).

Hi @ria , here is the node where I encountered the issue. It appears to be related to the “title” generated by users, as shown below (note the spaces between the rating star and the text).

★☆☆☆☆ Không vào được ứng dụng

Hi @Tien_Nguyen

I am so sorry, I completely overlooked the ★☆☆☆☆ Không vào được ứng dụng you posted.

Yes it seems related to the title as these stars get encoded to \u2605\u2606\

Could you share what the input is from the "Get ticket" node?
Ideally if you could share your whole workflow with some pinned data, just like you did before with the Jira node.

Thanks! :pray:

Hi @ria I’ve identified the issue: it stems from the “2 spaces” between “star” and “text” in title. When I manually removed one of the spaces, the “create JIRA” node run normally.

When I copied the title here, the system automatically removed one space. For further clarity regarding the “two spaces” I mentioned, please refer to my attached image.

1st space:

2nd space:

Additionally, I’ve included my entire workflow for your reference.
Is there a way to configure the workflow to remove this extra space on title, or to allow it to run regardless of whether the space exists?

Hi @Tien_Nguyen

Thanks for sharing!

You can handle this in your Zendesk node by stripping any new line characters from the Ticket ID

{{ $node["On updated Zendesk ticket"].json["body"]["id"].replace("\n", "") }}

Let us know if that works! :raised_hands:

Hi @ria , I’ve updated the Zendesk node as you suggested, but the issue still persists with the same error announcement


Hi @ria , I’ve updated your code to “create Jira ticket” node, instead of Zendesk node. And the workflow works successfully now. Thanks for your support :pray:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.