0 votes

I want to read all entries (Defects and Requirment) from a folder in a list.
Which of the folder commands can be used for this?

asked Jun 5, 2018 in TestTrack by Shapour (140 points)

1 Answer

+1 vote
You could use getEntityListForFolderByRecordID which would return a list of items in a folder. This list will contain record IDs of the items (ex: defect or requirement), not the full defect or requirement objects itself. You would then need to make a SOAP call to retrieve the defect/requirement) by that record ID.

For more information about the getEntityListForFolderByRecordID function, you can refer to the SDK documentation at http://help.seapine.com/help.php?product=helixalm&type=sdk
answered Jun 6, 2018 by RichC (5,290 points)
edited Jun 6, 2018 by RichC
thanks RichC, I got it and also I made the SOAP call to get the request and defecs.

CFolderItem[] fItems = getEntityListForFolderByRecordID()

            foreach (var item in fItems)
                if (item.entitytablename.CompareTo("Defect") == 0)
                { //do something

                   CDefect def = getdefect(item.entityrecordid);


237 questions
253 answers
1,106 users