I'm using this jira issue creation code and i'm trying to add multiple labels. This code keeps throwing an error. It's the label entry that is giving the problem. Highlighted below.
{
"fields": {
"project": { "key" : "[entry.JiraProjectKey]" },
"issuetype" : { "name": "Request" },
"summary" : "[entry.Summary]",
"labels" : "[entry.lob.asArrayOfKVPairs(name)]",
"description" : "[entry.details]",
"customfield_18600" : "[entry.RequestorName]",
"customfield_12704" : "[entry.RequestorEmail]",
"customfield_18608" : "[entry.Businesscontact]",
"customfield_18612" : "[entry.system]",
"customfield_20026" : "[entry.GroupsImpacted]"
}
}