How to setup email notifications for the doors_cs_process lifecyle

Technote (FAQ)


Question

Can I get email notifications using the doors_cs_process57 lifecycle?

Answer

This is possible, however some steps need to be taken to setup email notifications.

  1. Copy the notifications_template folder from C:\Program Files\IBM\Rational\Change\5.2\jetty\webapps\change\WEB-INF\package_templates\dev_template\wsconfig\templates\pt\forms

    and paste it in

    C:\Program Files\IBM\Rational\Change\5.2\jetty\webapps\change\WEB-INF\package_templates\doors_cs_template57\wsconfig\templates\pt\forms
  2. Rename 'entered2assigned.resolver_html.tmpl' to 'rcr_created2rcr_assigned.assignee_html.tmpl'
  3. Rename assigned.txt to rcr_assigned.txt
  4. Rename assigned.html to rcr_assigned.html
  5. Modify the templates to ensure the correct attributes are being called inside of the template files.
  6. Modify the attributes in rcr_created2rcr_assigned.assignee_html.tmpl

    From:

     <script>                                                                                          'problem_number|crstatus|problem_synopsis|severity|priority|request_type|product_name|submitter|resolver|_COMMENTS'
    %&mimeStart()%                                                                           %&mimeInsertText(assigned.txt)%                                                        %&mimeEndText()%                                                                           %&mimeInsertHTML(assigned.html)%                                                       %&mimeEndHTML()%                                                                           %&mimeProcessImages()%                                                                     %&mimeEnd()%                                                             </script>  



    To:


    <script>
    'problem_number|crstatus|problem_synopsis|release_priority|product_name|submitter|assignee|_COMMENTS', $_bt_dict)%
    %&mimeStart()%                                                                             %&mimeInsertText(rcr_assigned.txt)%                                                        %&mimeEndText()%                                                                           %&mimeInsertHTML(rcr_assigned.html)%                                                       %&mimeEndHTML()%                                                                           %&mimeProcessImages()%                                                                     %&mimeEnd()%
    </script>
  7. Modify the rcr_assigned.txt to include the following:

    From:

    <script>
    CR %problem_number% was set to %crstatus% for %resolver%.
    Synopsis:           %problem_synopsis%
    Severity/priority:  %severity%_%priority%
    CR Type:            %request_type%
    Product/Subsys:     %product_name% - %product_subsys%
    Comments:           %_COMMENTS%
    </script>


    To:


    <script>
    CR %problem_number% was set to %crstatus% for %assignee%.
    Synopsis:           %problem_synopsis%
    priority:           %release_priority%
    Product/Subsys:     %product_name% - %product_subsys%
    Comments:           %_COMMENTS%
    </script>
  8. Modify the rcr_assigned.html file and removed the following attributes:

    <script>
    <tr>
     <td width="25%%" valign="top" align="right" nowrap><b>Priority:</b></td>
     <td width="75%%">%priority%</td>
    </tr>
    <tr class="zebra">
     <td width="25%%" valign="top" align="right" nowrap><b>Release:</b></td>
     <td width="75%%">%release%</td>
    </tr>
    <tr>
     <td width="25%%" valign="top" align="right" nowrap><b>Severity:</b></td>
     <td width="75%%">%severity%</td>
    </tr>
    </script>


    Add the following attribute:


    <script>
    <tr>
       <td width="25%%" valign="top" align="right" nowrap><b>Priority:</b></td>
        <td width="75%%">%release_priority%</td>
    </tr>
    </script>

  9. Add the following line to the Post Condition of the rcr_created2rcr_assigned transitions of the doors_cs_process57.xml file:


    async:perl transition_notice.pl notification_templates
  10. Update and save the changes to the doors_cs_process57.xml file.
  11. Recreate the process package using the updated package template.
  12. After the updated process package has been installed, email notifications should be sent.

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Change
General Information

Software version:

5.2, 5.2.0.1, 5.2.0.2, 5.2.0.3, 5.2.0.4, 5.2.0.5, 5.3, 5.3.0.1, 5.3.0.2

Operating system(s):

Linux, Solaris, Windows

Reference #:

1567720

Modified date:

2011-11-30

Translate my page

Machine Translation

Content navigation