i am trying to update value to customfield in jira using curl but its not posting. I am using following command
curl --insecure -u "username":$(cat password.txt) -X POST --data '{"fields":{customfield_10325":"value":"test1"}}' -H "content-Type:application/json" "url"/rest/api/2/issue/Test
Test is my issue