Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

Create URL attachment in QC workflow script

$
0
0

We are in Project1 and create a new defect entry in Project2 by workflow script and with data from a defect entry in project1. Both projects are in the same domain and it works fine. But we want to create an URL attachment in the new defect entry and the URL should link to the defect in Project1 which has been copied.

 

Example:

     set targetatt = targetafact.AddItem(NULL)
     targetatt.Type = 2
     targetatt.FileName = "td://project1.rib.rib-s-qc.rib-software.com:8080/qcbin/Defects?Action=FindDefects&DefectID=13604"
     targetatt.Description = "URL Attachment"
     targetatt.Post

 

The generated attachment is not recognized as URL, it's just  shown the value Defects?Action=FindDefects&DefectID=13604.

 

If we create a more simple URL attachment (like google.com) everything works fine:

 

    set targetatt = targetafact.AddItem(NULL)
     targetatt.Type = 2
     targetatt.FileName = "www.google.com"
     targetatt.Description = "URL Attachment"
     targetatt.Post

 

Any help is appreciated, thanks.

Viewing all articles
Browse latest Browse all 5491

Latest Images

Trending Articles



Latest Images