how to create issues by REST api with multi line description?
Added by zeerd emneg almost 12 years ago
I wrote the xml like below:
<description> |a|This is not to be confused with another useful proposed feature that would do digest emails for notifications.| |b|| |c|| |d|| </description>
But , the result in the created issues was like below:
|a|This is not to be confused with another useful proposed feature that would do digest emails for notifications.||b||c|||d||
What should I fill in the xml file to instead of the CrLf? Thanks!
Redmine version: 1.3.1
Replies (2)
RE: how to create issues by REST api with multi line description?
-
Added by Brian Jacobsen over 11 years ago
Well I was searching for exact same solution as you, and tried something. and for me the solution is this:
<issue>
<project_id>dummy-sandkasse</project_id>
<subject>subject bja test 07-01-2013</subject>
<assigned_to_id>39</assigned_to_id>
<tracker_id>1</tracker_id>
<description>Description 1</description>
<description>Description 2</description>
<description>Description 3</description>
<description>Description 4</description>
<start_date>2012-12-31</start_date>
<estimated_hours>7</estimated_hours>
</issue>
Looks ok but I get this --- into my description?
Description
---
- Description 1
- Description 2
- Description 3
- Description 4
RE: how to create issues by REST api with multi line description?
-
Added by zeerd emneg over 11 years ago
That's cool , better than nothing.
Thanks. I will have a try tomorrow.