How can I get a custom Subject line in the Defect emails manually sent from ALM?
Question ID: 109749
1
1

Hello. We would like to remove the Domain from the subject line, so that it just displays the Project Name, Defect ID#, and the Defect Summary. Will this be possible?

Marked as spam
Posted by (Questions: 239, Answers: 31)
Asked on July 31, 2020 12:01 pm
49 views
Answers (1)
1
Private answer

Hello. I would like for you to try the following script in your test environment, to see if you get the results you are looking for. With the script in place, when you click the ‘Send by E-mail’ button in the ‘Defects’ module, the Domain will be removed from the ‘Subject’ line, leaving the Project Name, Defect ID#, and the Defect Summary.

Enter the following workflow script into the ActionCanExecute Function:

If ActionName ="act_SendbyEmail" Then

Set WshShell = CreateObject ("WScript.Shell")

WshShell.SendKeys "{TAB}{TAB}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}"

WshShell.SendKeys TDConnection.ProjectName

WshShell.SendKeys " - "

WshShell.SendKeys "Defect #"

WshShell.SendKeys Bug_Fields.Field("BG_BUG_ID").Value

WshShell.SendKeys " - "

WshShell.SendKeys Bug_Fields.Field("BG_SUMMARY").Value

Set WshShell = Nothing

End If

Marked as spam
Posted by (Questions: 2, Answers: 300)
Answered on July 31, 2020 12:03 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top