Create a jira issue using IFTTT macro and assign particular request type to a specific person

Anubhav Kumar Rajat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2024

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}"
}
}

0 answers

Suggest an answer

Log in or Sign up to answer