Hey I'm working on a confluence confiform and I'm using it to accept some input from a user and creating a jira issue based on that. And I also want to add assignee field and assigned it to specific person say "Abhinav Sinha". But Im getting:
" com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, {"errorMessages":[],"errors":{"assignee":"User 'Sinha, Abhinav' does not exist."}} "
Below is my JSON script that I placed inside the IFTTT macro for jira:
{
"fields": {
"project":
{
"key": "ABC"
},
"issuetype" : { "name": "Request" },
"customfield_18600" : "[entry.enteredby]",
"customfield_18601" : "[entry.email]",
"customfield_11413":"[entry.PlannedEnd.jiraDateTime]",
"labels": ["[entry.malcode]"],
"summary" : "[entry.newsummary]",
"priority": {
"name": "[entry.urgency.label]"
},
"customfield_10002" : 89707,
"assignee": {
"name": "[Sinha, Abhinav]"
},
"description": "[entry.Description.escapeJSON] \n\n {noformat} \n\n #submittername: [entry.enteredby] \n\n #submitteremail: [entry.email] \n\n #requesttype: [entry.requesttype.label] \n\n #appname: [entry.appname] \n\n #malcode: [entry.malcode]\n\n {noformat}"
}
}