Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Can I use mail triggers on UNIX CS4.3 server?
Topic Summary:
Created On: 27-Jul-2004 02:11
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Henrik Jönsson, on Thursday, November 18, 2004 4:45 PM

Answer:
This is how I have done it:

Trig_eng.def:

pt_transition
{
problem
{
AssignedForImplementation assignedCR.sh RoleImplementer =assignedCR.tpl;
}

assignedCR.sh:

#!/bin/sh
#
# Script:
# Instance: cbxpt_se_1
# %version: 1 %
# Description:
# %created_by: sighjo %
# %date_created: Tue Sep 30 08:47:28 2003 %

# Parameters
mailFile=$2
user=$1

sed "s/MAILADDRESS/$user/" < $mailFile > ${mailFile}.tmp

# Send the mail
/usr/lib/sendmail -t < ${mailFile}.tmp

# Remove the mail file
\rm $mailFile ${mailFile}.tmp

echo "Sent notification mail to $user"


assignedCR.tpl:

To: MAILADDRESS
From: Synergy
Reply-To: henrik.jonsson@se.transport.bombardier.com
Subject: You have a new assigned CR
Date: %rfc822_date

Change Request Notification
________________________________________________________________________________
This problem can be found in the Continuus database %database

Problem Number: %problem_number
Synopsis: %problem_synopsis
Status: %crstatus
Product: %CrProductName-%CrProductVersion
Project: %CrProjectName

Description:
%problem_description

Regards
Synergy Administrator Hässleholm (Henrik Jönsson)

You will probably need to change some attribute names.

/henrik
 27-Jul-2004 02:11
User is offline View Users Profile Print this message


zou deyu

Posts: 6
Joined: 22-Jul-2004

We use CM6.3 and CS4.3 both on Solaris 5.9. Now our CM server can send mail to engineer when a task was assigned to him. but CS4.3 can not send a mail to engineer, when I assign a CR to him, whether create a task or not. And there is such words in CS install manual for UNIX on page 43: "CM Synergy mail triggers send e-mail to a predefined list of users when a task is assigned. You must update mail triggers after installing ChangeSynergy. Note: These triggers are for Windows ChangeSynergy servers only, and are required only if Windows ChangeSynergy servers are using a UNIX CCM repository.".

So I can not use mail triggers for CS4.3 UNIX server, when I assign a CR or task to an engineer?

And where I can find some more detailed help about CS/CM (mail) triggers?
Report this to a Moderator Report this to a Moderator
 4-Aug-2004 09:45
User is offline View Users Profile Print this message


Henrik Jönsson

Posts: 9
Joined: 3-Jun-2003

Answer Answer
This is how I have done it:

Trig_eng.def:

pt_transition
{
problem
{
AssignedForImplementation assignedCR.sh RoleImplementer =assignedCR.tpl;
}

assignedCR.sh:

#!/bin/sh
#
# Script:
# Instance: cbxpt_se_1
# %version: 1 %
# Description:
# %created_by: sighjo %
# %date_created: Tue Sep 30 08:47:28 2003 %

# Parameters
mailFile=$2
user=$1

sed "s/MAILADDRESS/$user/" < $mailFile > ${mailFile}.tmp

# Send the mail
/usr/lib/sendmail -t < ${mailFile}.tmp

# Remove the mail file
\rm $mailFile ${mailFile}.tmp

echo "Sent notification mail to $user"


assignedCR.tpl:

To: MAILADDRESS
From: Synergy
Reply-To: henrik.jonsson@se.transport.bombardier.com
Subject: You have a new assigned CR
Date: %rfc822_date

Change Request Notification
________________________________________________________________________________
This problem can be found in the Continuus database %database

Problem Number: %problem_number
Synopsis: %problem_synopsis
Status: %crstatus
Product: %CrProductName-%CrProductVersion
Project: %CrProjectName

Description:
%problem_description

Regards
Synergy Administrator Hässleholm (Henrik Jönsson)

You will probably need to change some attribute names.

/henrik
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.