getLinksForItem
Retrieves a list of links associated with an item. A SOAP error envelope is returned if the operation fails.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
tablename | string | Table name the item belongs to. Valid values: Defect, Test Case, Test Run, Requirement, Requirement Document, Test Variant, User, Customer, Task, Test Config, Links, Folder, and Report. Use getTableList to retrieve a list of available tables. |
itemRecordID | long | Unique item record ID. |
Return value
Value | Type |
---|---|
pLinkList | CLink[] |
Example
CRequirement def = ttsdk.getRequirement(cookie, 0, "Requirement summary", false);
CLink[] reqLinks = ttsdk.getLinksForItem(cookie, "Requirement", req.recordid);