cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Getting PurePaths from Incident object in plugin development

sebastian_kryst
DynaMight Leader
DynaMight Leader

Hello,

we are extending JIRA plugin for dynatrace. We are trying to link incident with purepaths in any way, but Incident.getPurePaths() returns empty list. According to information I have found over internet, you doesn't support this method any more. Is there any way to generate from provided information uri which will open at least web client on proper dashboard? It would improve workflow with JIRA task for our client.

Another option which would be enough for us is getting affected Agent and Application names.

One of such incident we need to describe is "Failure rate to high". Can you show use correct path to obtain what we need?

Best,
Sebastian


1 REPLY 1

andreas_grabner
Dynatrace Guru
Dynatrace Guru

Hi Sebastian

You are correct - we do no longer provide the list of PurePaths that triggered an Incident. Unfortunately there is no way to get to the PurePaths. The only thing you can try is to get more context data by iterating through the measures that triggered the incident. In the Plugin you get a list of measures that you have configured in your Incident Rule. You should be able to get the measure name as well as the value and thresholds. For Incidents that are based on Business Transactions you should also be able to get the "Split Measure", e.g: the name of the User Action or Web Request that failed. .At least you get the name which you could use to open a dashboard an e.g: Filter by that Business Transaction

Andi