Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Rest API using curl and cmd command

Bongani Hermans
August 11, 2020

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

2 answers

0 votes
Sateesh Chandra
April 1, 2015

Hi Akash,

Forget the backend. If you are not planning to use the 3.0.

1) You will have to either upgrade as Nic said or Create new projects and perform a CSC import.

2) if its a new setup , you can give a try to xml export from 3.0 to xml import to 6.3

Regards,

Sateesh

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 1, 2015

That's a huge jump to do with SQL - you'll need to reverse engineer the entire upgrade process to work out what SQL to build.

Seriously, upgrade it (in a test system).

Suggest an answer

Log in or Sign up to answer