Updating requirement descriptions via workflow/API

  • Questions
  • Updating requirement descriptions via workflow/API
Question ID: 106996
0
0

We are trying to update requirement descriptions via workflow/API. I was wondering if anyone has an example of how to do this?

Marked as spam
Posted by (Questions: 122, Answers: 3)
Asked on July 28, 2016 2:57 pm
8 views
Answers (1)
0
Private answer

Sure. Here is an example that should get you started:

ReqID = ''13''
ReqDesc = ''This is an example description.''

Set ReqFact = TDConnection.ReqFactory
Set ReqObj = ReqFact.Item(ReqID)
ReqObj.Field(''RQ_REQ_COMMENT'') = ReqDesc
ReqObj.Post
Set ReqObj = Nothing
Set ReqFact = Nothing

Marked as spam
Posted by (Questions: 3, Answers: 168)
Answered on July 28, 2016 2:57 pm