Hi,
We have done Dynatrace and Jira custom integration in our environment. It is doing well. But the issue is the intgration also raise a Jira ticket while issue is in resolved state in Dynatrace. Our aim is to just raise a Jira ticket while issue is in open state. We have different custom payload for different category, item and summary combination in Jira For EX. please see attached screenshot.
Also please find the custom payload we are attaching with Jira API.
{
“fields”:
{
“project”:
{ “id”: “10100” }
,
“issuetype”:
{ “name”: “Incident” }
,
“summary”: “incedent created by dynatrace”,
“description”:"{ProblemID} is *
{State}* and it is affecting the {ProblemSeverity} . Please see the deatils : {ProblemImpact} - {ProblemDetailsText}",
“customfield_10301”: {“value”: “Middleware”},
“customfield_10500”: {“value”: “Weblogic”},
“customfield_10306”: {“value”: “JVM Warning state”},
“customfield_10307”: {“value”: “JVM Warning state”},
“customfield_10808”: “0.0”,
“customfield_10810”: {“value”: “Others”},
“customfield_11309”: “TCS”,
“customfield_11601”: “TCS”,
“customfield_11307”: “9999900000”
}
}
Now, as per Dynatrace placeholder description what I found is : - *{State}
Problem state. Possible values are OPEN or RESOLVED or in some cases MERGED when the problem has been merged into another problem.
Aim : To trigger an create issue API of Jira while {state} is OPEN and not RESOLVED or MERGED.
Please suggest the way, we can achieve this.
