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
Hi,
I am trying to run the curl command to update a summary of an issue but getting errors.
Curl command : curl -D- -u user:password -H "Content-Type:application/json" -k -D '{"update":{"summary":[{"set":"Big Block Chevy"}]}}' {jira-server url}/rest/api/2/issue/RIM-816
getting error :
Warning: Failed to open {"update":{"summary":[{"set":"Big Block Chevy"}]}}
curl: (23) Failed writing received data to disk/application
Kindly please advise on a workaround for this, all my tests run fine in postman but when using curl I get an error.
Regards,
Bongani
Hi @Bongani Hermans ,
problem could be related to -D option
-D/--dump-header <file>
Write the protocol headers to the specified file.
This option is handy to use when you want to store the headers that a HTTP site sends to you. Cookies from the headers could then be read in a second curl invoke by using the -b/--cookie option! The -c/--cookie-jar option is however a better way to store cookies.
When used on FTP, the ftp server response lines are considered being "headers" and thus are saved there.
If this option is used several times, the last one will be used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.