<?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 Re: Test Runs, Notifications, Computed Fields in Codebeamer</title>
    <link>https://www.ptcusercommunity.com/t5/Codebeamer/Test-Runs-Notifications-Computed-Fields/m-p/1004186#M737</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/520485"&gt;@rattmice&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We encountered a similar issue in our use case where workflow actions are disabled for Test Runs (no Groovy scripting). As a workaround, we implemented Java-based listeners: the &lt;STRONG&gt;WorkflowListener&lt;/STRONG&gt; (using the transitionTaken method) and the &lt;STRONG&gt;TrackerItemListener&lt;/STRONG&gt; (using the trackerItemCreated and trackerItemUpdated methods).&amp;nbsp;You can find more details here:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.ptc.com/help/codebeamer/r2.2/en/index.html#page/codebeamer/developers_guide/4420193.html#" target="_blank" rel="noopener"&gt;https://support.ptc.com/help/codebeamer/r2.2/en/index.html#page/codebeamer/developers_guide/4420193.html#&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Perhaps this approach could also work for your use case.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2025 09:15:52 GMT</pubDate>
    <dc:creator>Alexej_L</dc:creator>
    <dc:date>2025-03-13T09:15:52Z</dc:date>
    <item>
      <title>Test Runs, Notifications, Computed Fields</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/Test-Runs-Notifications-Computed-Fields/m-p/960866#M239</link>
      <description>&lt;P&gt;We have a problem with having a notification sent from a Test Run when the item is transitioned to the Finished state. &amp;nbsp;Our Test Run tracker has 2 custom Members fields: Lab Manager and Test Engineer. &amp;nbsp;It also has the Assigned To field which is a computed field that is assigned its value based on the state of the item. &amp;nbsp;If the state is Finished then it gets set to the Lab Manager field value, otherwise it is set to the Test Engineer value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a Test Run is created (and is not in the Finished state) the Assigned To is set to the Test Engineer field and that user will get a notification of the Test Run which is desired. &amp;nbsp;However, when the Test Run is marked as Finished, the Assigned To field does get the value of the Lab Manager but that user does not get a notification that it is complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the Test Run's workflow is not editable we don't have the ability to add a workflow action (custom via groovy or any of the other built-in actions).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried manually subscribing the Lab Manager user for events to the Finished state but that does not trigger a notification during the transition but it will if I update the item while it is already in that state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have yet to look at the Velocity templates but that is my next option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have a workaround to getting notifications sent when the Assigned To changes on a Test Run?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 16:42:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/Test-Runs-Notifications-Computed-Fields/m-p/960866#M239</guid>
      <dc:creator>rattmice</dc:creator>
      <dc:date>2024-07-11T16:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Test Runs, Notifications, Computed Fields</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/Test-Runs-Notifications-Computed-Fields/m-p/1000838#M680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/520485"&gt;@rattmice&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First it worth to check who was the user executing the state transition.&lt;/P&gt;&lt;P&gt;The users don't get notification about their own activities in Codebeamer.&lt;/P&gt;&lt;P&gt;If the user is the same as the one in Lab Manager field, then this behavior is expected.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 10:10:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/Test-Runs-Notifications-Computed-Fields/m-p/1000838#M680</guid>
      <dc:creator>EvaBertalan</dc:creator>
      <dc:date>2025-02-26T10:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Test Runs, Notifications, Computed Fields</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/Test-Runs-Notifications-Computed-Fields/m-p/1004186#M737</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/520485"&gt;@rattmice&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We encountered a similar issue in our use case where workflow actions are disabled for Test Runs (no Groovy scripting). As a workaround, we implemented Java-based listeners: the &lt;STRONG&gt;WorkflowListener&lt;/STRONG&gt; (using the transitionTaken method) and the &lt;STRONG&gt;TrackerItemListener&lt;/STRONG&gt; (using the trackerItemCreated and trackerItemUpdated methods).&amp;nbsp;You can find more details here:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.ptc.com/help/codebeamer/r2.2/en/index.html#page/codebeamer/developers_guide/4420193.html#" target="_blank" rel="noopener"&gt;https://support.ptc.com/help/codebeamer/r2.2/en/index.html#page/codebeamer/developers_guide/4420193.html#&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Perhaps this approach could also work for your use case.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 09:15:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/Test-Runs-Notifications-Computed-Fields/m-p/1004186#M737</guid>
      <dc:creator>Alexej_L</dc:creator>
      <dc:date>2025-03-13T09:15:52Z</dc:date>
    </item>
  </channel>
</rss>

