Hello,
I'm trying to create multiple versions for a migration from another tool to JIRA.
Versions data are in French language and contain accents, that are difficult to upload in JIRA using Curl command lines and JSON format, in a Windows environment.
Can someone point me to the correct way to write that?
Here is what I have tried :
curl -X POST -H "content-type: application/json" "https://user:passwd@domain.jira.com/rest/api/latest/version" -d "{\"description\": \"version intéressante\",\"name\": \"Version numéro 1\",\"archived\":false,\"released\":false,\"project\":\"PRJ1\"}"
and another one:
curl -X POST -H "content-type: application/json;charset=UTF-8" "https://user:passwd@domain.jira.com/rest/api/latest/version" -d "{\"description\": \"version intéressante\",\"name\": \"Version numéro 1\",\"archived\":false,\"released\":false,\"project\":\"PRJ1\"}"
Both give me the same result:
{"errorMessages":["Invalid UTF-8 middle byte 0x44\n at [Source: org.apache.catalina.connector.CoyoteInputStream@7d22ee91; line: 1, column: 24]"]}
Thanks for any insight you can give me.
Emmanuel
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.