【问题标题】:HP-ALM requirement status change alert scriptHP-ALM 需求状态更改警报脚本
【发布时间】:2016-07-14 17:30:21
【问题描述】:

我正在使用 HP-ALM 12.21。

我想在状态更改为我当前需求的“开发”时设置电子邮件通知提醒。

刚刚遇到一些解决方案,您可以在“自定义”页面上设置警报,但在我的个人资料中“自定义”页面只有密码更改选项。

有没有这个的vbscript?

【问题讨论】:

    标签: testing vbscript automation ui-automation alm


    【解决方案1】:

    首先,你需要有管理员权限,或者你可以让你的管理员去做。

    然后在Customization -> Workflow -> Requirement module script -> Req_FieldChange(FieldName)中添加工作流脚本。

    例如,

    Sub Req_FieldChange(FieldName)
      On Error Resume Next
      If TDConnection.UserName = "sa" Then
        If FieldName = "RQ_REQ_STATUS" Then
            Dim objReqFactory, objReq
            Set objReqFactory=TDConnection.ReqFactory
            Set objReq=objReqFactory.Item(Req_Fields("RQ_REQ_ID").Value)
            objReq.Mail "sa@hpe.com","",0,"Requirement Change Notification","The user sa changed the status of the requirement"
        End If
      End If
      On Error GoTo 0
    End Sub

    希望我的回答对你有帮助。

    谢谢你和问候,

    文娟

    【讨论】:

      猜你喜欢
      • 2020-06-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-04-11
      • 2023-03-19
      相关资源
      最近更新 更多