i want to pass my variable in to the JSON object of JIRA API . Here i want to pass this variable summary into the fields .
var summary = " Create ticket"
"fields": { "summary": "Summary" ,"issuetype": { "id": "1" }, assignee": { "name": "abc" }, "project": {"id": "23601"} }
Kindly share the format to pass the variable into this JSON .
Thanks in Advance .