Hi Folks,
I am trying to update selectlist custom field dynamically by using REST API and getting input data from REST API and passing that data by using variable but while running the curl getting below error and we are using v2 REST API method.
command : curl -D- -u "Test@abc.com":"jiraadmin123" -X POST --data {"fields": {"customfield_16600": {"value":"$name"}, {"id":"null"}}} -H "Content-Type: application/json" https://abc.test.com/rest/api/2/issue/
Error : {"errorMessages":["Unexpected character ('f' (code 102)): was expecting double-quote to start field name\n at [Source: org.apache.catalina.connector.CoyoteInputStream@1c271e0a; line: 1, column: 3]"]}
Could you please check and let me know if any solution for this task.