We are collecting Client issues in our FreshDesk application, and would like to push these issues that require software development into Jira.
We've successfully created automations in FreshDesk that trigger a webhook to create the issue in Jira, the only problem is that the Description in FreshDesk is being updated in JIRA with HTML code as part of the text.
Is there a way to ensure that the description from FreshDesk is posted in JIRA as plain text?
This is the code:
{
"fields": {
"project": {
"key": "KAN"
},
"summary": "Freshdesk/Jira Integration: SFTP Issue",
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "{{ticket.description}}"
}
]
}
]
},
"issuetype": {
"name": "Task"
}
}
}
Hi @Gavin Walsh _WFC_
Please follow the steps mentioned below using the link. Make sure you can limit the JQL results to test the outcome first. Always suggested to perform such automation on the sandbox.
https://support.atlassian.com/jira/kb/removing-html-formatting-in-the-jira-issue-descriptions-from-jeditor/
@Gavin Walsh _WFC_ welcome to the Atlassian community
The API only supports Atlassian editor markup to be passed through it. It will not interpret or convert the HTML. You would need to parse the HTML out before passing it through the API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.