Hi
I am trying to Set Request Token using Curl Put command using JIRA Rest API
curl -X PUT -H "Content-Type:application/json" -u admin:admin -d '{"token":"u511nbjarz6u6f7xhzdji29i91j339","issueID":14147}' http://<serverurl>/rest/api/2/issue/issuekey/properties/feedback.token.key
The same command runs fine and is able to Set Issue Property - feedback token when I run it in Server side using direct Curl command, but it fails when I try to do it using script.
Please suggest if someone has seen this before....
Here is the output for Failure I get: printing both Success and Failure - Success is blank
Success ::::: Failure :::: % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 60 0 0 100 60 0 1420 --:--:-- --:--:-- --:--:-- 1428
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.