Bug 726128

Summary: RFE: XML-RPC interface how to find childrens of testplan in TreeView
Product: [Other] TCMS Reporter: Jan Ščotka <jscotka>
Component: ApplicationAssignee: Yuguang Wang <yuwang>
Status: CLOSED NOTABUG QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: DevelCC: azelinka, ctang, dkovalsk, junzhang, llim, nli, psplicha, vchen, yawli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-21 07:18:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 593666    

Description Jan Ščotka 2011-07-27 15:45:37 UTC
Description of problem:
In tree View in web interface is able to walk thru childrens of testplan.
But XML-RPC doesn't provide similar function.

I can imagine function or list for TestPlan class:
TestPlan.getPlans()
what should return Array of testplans what are descendant.
Nowadays it is propably impossible to do it. Propably only search thru all testplans for proper parent id. but it'll be very slow.

   Thanks&Regards
   Honza

Comment 1 Danqing Li 2011-12-05 06:18:16 UTC
(In reply to comment #0)
> Description of problem:
> In tree View in web interface is able to walk thru childrens of testplan.
> But XML-RPC doesn't provide similar function.
> 
> I can imagine function or list for TestPlan class:
> TestPlan.getPlans()
> what should return Array of testplans what are descendant.
> Nowadays it is propably impossible to do it. Propably only search thru all
> testplans for proper parent id. but it'll be very slow.
> 
>    Thanks&Regards
>    Honza

Hi,
I'd like to know from XML-RPC, do you only need to see the children (or parents) of the test plan , or also operate the relationship , such like add/remove child/parent.

Because TCMS 3.6 have been in maintenance phase, only urgent and that affect functionality to be fixed in this phase. 

If the function of display the relationship is very important to your work-flow, TCMS would add this simple function into 3.6. 
the complex function related with operations would be considered into 4.0.

Thanks.

Danqing Li

Comment 2 Jan Ščotka 2012-04-05 10:58:33 UTC
Hi,
Propably in nowadays TCMS it is okay to do search childrens via search option (where parent=ID) but in New version of TCMS it could be nice to see feature like tree go thru dependency tree straighter (not using search option)
Nowadays we have implemented it in our tools via search
   Thanks&Regards
   Honza

Comment 3 yawei Li 2012-05-21 07:18:14 UTC
close it, as it is not needed by the reporter.