<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem duration from API in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Problem-duration-from-API/m-p/210250#M3469</link>
    <description>&lt;P&gt;So I need to see how long over the past 90 days problems were remaining open before they got resolved.&lt;BR /&gt;I looked at the problem API and ran a quick request, but the problem duration is not the data that gets returned (which makes no sense at all, I mean I can see that as a field and it's being calculated by Dynatrace, so why not allow me to use it in the API?).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering if anyone else has encountered this problem or if anyone has any suggestions for how to tackle this?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2023 10:33:58 GMT</pubDate>
    <dc:creator>shakib</dc:creator>
    <dc:date>2023-04-20T10:33:58Z</dc:date>
    <item>
      <title>Problem duration from API</title>
      <link>https://community.dynatrace.com/t5/Alerting/Problem-duration-from-API/m-p/210250#M3469</link>
      <description>&lt;P&gt;So I need to see how long over the past 90 days problems were remaining open before they got resolved.&lt;BR /&gt;I looked at the problem API and ran a quick request, but the problem duration is not the data that gets returned (which makes no sense at all, I mean I can see that as a field and it's being calculated by Dynatrace, so why not allow me to use it in the API?).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering if anyone else has encountered this problem or if anyone has any suggestions for how to tackle this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 10:33:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Problem-duration-from-API/m-p/210250#M3469</guid>
      <dc:creator>shakib</dc:creator>
      <dc:date>2023-04-20T10:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Report showing problem duration?</title>
      <link>https://community.dynatrace.com/t5/Alerting/Problem-duration-from-API/m-p/210270#M3470</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is not showed directly but you have this information in the JSON answer:&lt;/P&gt;&lt;DIV&gt;&lt;UL class="lia-list-style-type-square"&gt;&lt;LI&gt;&lt;SPAN&gt;"startTime"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1681969860000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;"endTime"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;1681972740000&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;SPAN&gt;Then, something as this "endTime - startTime / 1000 / 60" will return problem duration in minutes. Just an example.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Apr 2023 06:59:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Problem-duration-from-API/m-p/210270#M3470</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2023-04-20T06:59:57Z</dc:date>
    </item>
  </channel>
</rss>

