Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007648TestLinkAPI - XMLRPCpublic2016-08-24 06:442016-08-26 07:10
Assigned To 
PrioritynormalSeverityfeature requestReproducibilityN/A
PlatformOSOS Version
Product Version1.9.14 (2015 Q3) 
Fixed in Version 
Summary0007648: getting Requirements method
DescriptionIt would be great if an access to all requirements could be done. A method such as "getRequirements()" which could return a list of the requirements fro a specific project for example.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
PHP Version1.9.14
QA Team - Task Workflow Status
Attached Files

- Relationships
related to 0007650new creating Requirements method 

-  Notes
fman (administrator)
2016-08-24 15:29

Unfortunately your requirement details is too weak, and incomplete, to be able to provide a good implementation.
Please refine and complete your request.
LauraG (reporter)
2016-08-25 06:41

In order to automate completely the update of a project in TestLink, I have to use the XML-RPC API of TestLink and I need to access to all of the requirements for the project I want to update.
I couldn't find any other method that assumes this in the php code available for version 1.9.14, that's why I was thinking of a getter function, such as getRequirements(Integer projectId) which returns all of the requirements in the project mentionned (why not in a format like List<Requirements>).

Hope this explanation is better understood.
Thank you for your great help
fman (administrator)
2016-08-25 11:19
edited on: 2016-08-25 11:22

Dear user
info you have provided is not the kind of information needed.
I do not need just the reason to create the method but details about:

1) how the method will be called (mandatory parameters, optional parameters)
2) what will be the information returned by method.

What is needed is a technical specification.
With information you have provided no improvement has been done regarding original request.

These comments about missing deteails also applies to related issue (0007650) requesting the create method

LauraG (reporter)
2016-08-26 07:10

Here are the information you require.

1) How the method will be called
   * List requirements within a test project
   * @param struct $args
   * @param string $args["devKey"]
   * @param int $args["testprojectid"]
   * @return mixed $resultInfo
   public function getRequirementsForTestProject($args)

2) What will be the information returned by method
The list of requirements specification within a test project.

Each requirement specification will contain
- all the information related to itself (title, document ID, scope, type)
- a list of the requirement actions it includes

Each of the requirement action of this list will contain all the information related to itself (title, document ID, scope, status, type, number of test cases needed)

I am sorry I can't help you more considering I absolutely know nothing about PHP.
Hope my request is clearer and easy to produce.
Thank you very much

- Issue History
Date Modified Username Field Change
2016-08-24 06:44 LauraG New Issue
2016-08-24 15:29 fman Note Added: 0025145
2016-08-24 15:31 fman Status new => feedback
2016-08-25 06:41 LauraG Note Added: 0025150
2016-08-25 06:41 LauraG Status feedback => new
2016-08-25 11:19 fman Note Added: 0025151
2016-08-25 11:20 fman Note Edited: 0025151 View Revisions
2016-08-25 11:21 fman Relationship added related to 0007650
2016-08-25 11:22 fman Note Edited: 0025151 View Revisions
2016-08-26 07:10 LauraG Note Added: 0025154

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker