<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://forum.cqadmin.org/w/index.php?action=history&amp;feed=atom&amp;title=EmailNotification_Creating_First_Notification_Rule</id>
	<title>EmailNotification Creating First Notification Rule - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://forum.cqadmin.org/w/index.php?action=history&amp;feed=atom&amp;title=EmailNotification_Creating_First_Notification_Rule"/>
	<link rel="alternate" type="text/html" href="http://forum.cqadmin.org/w/index.php?title=EmailNotification_Creating_First_Notification_Rule&amp;action=history"/>
	<updated>2026-04-30T17:01:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://forum.cqadmin.org/w/index.php?title=EmailNotification_Creating_First_Notification_Rule&amp;diff=232&amp;oldid=prev</id>
		<title>Paul at 14:40, 1 February 2013</title>
		<link rel="alternate" type="text/html" href="http://forum.cqadmin.org/w/index.php?title=EmailNotification_Creating_First_Notification_Rule&amp;diff=232&amp;oldid=prev"/>
		<updated>2013-02-01T14:40:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:40, 1 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Email_Notification_Package]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:Rational]] &lt;/ins&gt;[[Category:Email_Notification_Package]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Paul</name></author>
		
	</entry>
	<entry>
		<id>http://forum.cqadmin.org/w/index.php?title=EmailNotification_Creating_First_Notification_Rule&amp;diff=65&amp;oldid=prev</id>
		<title>Paul: Created page with &quot;&lt;big&gt;'''ClearQuest Email Notification Package'''&lt;/big&gt;  &lt;big&gt;'''Creating first notification rule'''&lt;/big&gt;   == Minimum configuration ==  Detailed package configuration instructio...&quot;</title>
		<link rel="alternate" type="text/html" href="http://forum.cqadmin.org/w/index.php?title=EmailNotification_Creating_First_Notification_Rule&amp;diff=65&amp;oldid=prev"/>
		<updated>2011-08-22T19:39:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;ClearQuest Email Notification Package&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;  &amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;Creating first notification rule&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;   == Minimum configuration ==  Detailed package configuration instructio...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;big&amp;gt;'''ClearQuest Email Notification Package'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Creating first notification rule'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Minimum configuration == &lt;br /&gt;
Detailed package configuration instructions can be found [[Package_configuration | here]]&lt;br /&gt;
&lt;br /&gt;
At least two database propertied must be defined to start using the package: &lt;br /&gt;
# '''email_host''' - SMTP relay name, the host that will accept generated emails for delivery&lt;br /&gt;
# '''email_enabled''' - should be set to 1 to enable email notifications&lt;br /&gt;
&lt;br /&gt;
Open ClearQuest and configure package according to package configuration instructions&lt;br /&gt;
&lt;br /&gt;
submit properties (udb_property records):&lt;br /&gt;
[[Image:submit_properties.jpg | none ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Set mail_host = your SMTP host ===&lt;br /&gt;
[[Image:email_host.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Set email_enabled = 1 ===&lt;br /&gt;
&lt;br /&gt;
Second mandatory property besides mail_host. Notifications will not be generated is the property is not set! &lt;br /&gt;
&lt;br /&gt;
Submit udb_property record, set name to '''email_enabled''' and value '''1''', click OK to commit property to the database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Set other properties if required ===&lt;br /&gt;
Check other available properties in the [[Package_configuration | configuration guide]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Create simple notification rule ===&lt;br /&gt;
&lt;br /&gt;
In this example, we will define a rule to notify submitted that defect is closed. We are using standard Defect record from &amp;quot;Defect Tracking&amp;quot; schema.&lt;br /&gt;
&lt;br /&gt;
[[Image:submit_Email_Notification_Rule.jpg]]&lt;br /&gt;
&lt;br /&gt;
Create new email_notification_rule record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:en_1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Set name to some unique value, &amp;quot;Notify Submitter&amp;quot;, and record type field to &amp;quot;Defect&amp;quot; (the package must be applied for this record type). Action &amp;quot;Close&amp;quot; will trigger notification, because we specified it in the &amp;quot;Actions&amp;quot; field.&lt;br /&gt;
&lt;br /&gt;
[[Image:en_2.jpg]]&lt;br /&gt;
&lt;br /&gt;
The email is going to be sent to submitter, and we use &amp;quot;$Submitter.email&amp;quot; variable (extracting email from Submitter ClearQuest reference field). We can also add some statics email addresses here as free text, one email address per line, not other delimiters, i.e.&lt;br /&gt;
 $owner.email&lt;br /&gt;
 my_favorite_email_address@my.domain.com&lt;br /&gt;
&lt;br /&gt;
[[Image:en_3.jpg]]&lt;br /&gt;
&lt;br /&gt;
We are using free text with embedded ClearQuest record fields to format email body.&lt;br /&gt;
&lt;br /&gt;
=== Test created notification rule ===&lt;br /&gt;
Close a defect, and check if email was created and sent properly.&lt;br /&gt;
You can use existing or create new query for en_email_message record type to check email queue,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Email_Notification_Package]]&lt;/div&gt;</summary>
		<author><name>Paul</name></author>
		
	</entry>
</feed>