Issue in creating defect using REST API if summary contains double quotes

while creating the defect using REST API , I am dynamically passing a string in “summary” field which looks like -
& #34;Content&#34

Same string is being passed in the “description” field as well.Defect is getting created and the description is parsing the string properly and i am seeing the resultant as “Content” on the defect page but in the defect summary/subject the string in not parsed and i see is as "X-Content-&#34.
How to handle this ?

Hello @anurag.aman12,

What is the exact request you used? To include double quotes in summary, you need to escape it with a backslash. Here’s a sample request body passed to Create issue REST API:

  "fields": {
    "summary": "\"Content new issue\"",
    "issuetype": {
      "id": "10001"

Hope this helps.