Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can I create versions using Curl/JSON, with accents in the Data section



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" "" -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" "" -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.




0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

184 views 1 6
Read article

Atlassian Community Events