You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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