i am trying to integrate from our git into monday and need to transfer the git’s ticket description into a long_text column.
as the description can include markdown, it will include hashes and other special characters that seem to break the graphQL api (e.g. hashes are comments in graphql etc.)
should be easy to fix if I knew the expected encoding for long_text api input strings. But could not find any.
working in nodejs with raw data.
First try (which works api wise but does not result in proper display of the texts):
`
${mutationName} : change_multiple_column_values(
board_id: $boardid, item_id: 1273911846,
column_values: "{
\\\\"name\\\\":\\\\"${gitlabIssue.title}\\\\",
\\\\"text\\\\":\\\\"${gitlabIssue.title}\\\\",
\\\\"long_text\\\\":\\\\"${encodeURIComponent(gitlabIssue.description)}\\\\"
}"
)
{
id
name
}
`
before I try all string encodings known to humankind: where did I miss it in the docs?
cheers