Hello:
Using the following Jira API endpoint to create an issue, sending the data in JSON (as per the documentation), I've tried several ways of getting multiline content for the description field:
url = "https://jira.mydomain.com/rest/api/2/issue"
payload
{
"fields": {
"project":
{
"key": "VPMG"
},
"summary": "Vulnerability detected by Qualys Scan at Finding.name ",
"description": "Vulnerability FindingDetails.id, group FindingDetails.group was detected at Finding.url ",
"issuetype": {
"name": "Bug"
}
}
}
So the description field ( that will contain much more information than above) will appear all in one line. This is a JSON, and what I want is to know if there is any way I can indicate JIRA that treat the description field as HTML, or all the fields as HTML so if I scape new line like \\n de description could appear in multiple lines.