Hello,
I am working on integration LogicMonitor with JIRA and have successfully integrated it. I could see JIRA tickets populating but I want to add a "labels" field as well into my JIRA ticket. When I tried adding that into my payload I see syntax error. Can anyone help with this?
Below is my current payload on logicMonitor:
{
"fields": {
"project": {
"key": "FOUN"
},
"summary": "LM - ##DATASOURCE## ##ALERTTYPE## ##LEVEL## alert ##HOSTNAME##",
"description": "##MESSAGE##",
"issuetype": {
"name": "Task"
},
"labels": [ "MOD"
],
"components": [{
"name": "Network"
}]
}
}
and this is the error message I see
{"errorMessages":["Unexpected character ('\"' (code 34)): was expecting comma to separate OBJECT entries\n at [Source: org.apache.catalina.connector.CoyoteInputStream@76f45564; line: 1, column: 385]"]}