Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008271TestLinkAPI - XMLRPCpublic2018-05-30 15:592018-05-30 17:19
Reportersalas 
Assigned Tofman 
PrioritynormalSeverityfeature requestReproducibilityalways
StatusfeedbackResolutionopen 
PlatformLinux/Lighttpd/Postgres/PHPOSLinux WheezyOS VersionDebian 7.11
Product Version1.9.17 (2018 Q1) 
Fixed in Version 
Summary0008271: Adding getTestCaseRequirements" in the XMLRPC API
DescriptionCould you add the function "getTestCaseRequirements" in the XMLRPC API?
Steps To ReproduceAdding in lib\api\xmlrpc\v1\xmlrpc.class.php

   /**
   * Gets list of requirements for a given Test case
   *
   * @param int $args["testcaseid"]: testcaseid must be present
   *
   * @return requirement list
   *
   * @access public
   */
  public function getTestCaseRequirements($args)
  {
    $msgPrefix="(" .__FUNCTION__ . ") - ";
    $this->_setArgs($args);
    $checkFunctions = array('authenticate','checkTestCaseIdentity');
    $status_ok=$this->_runChecks($checkFunctions,$msgPrefix);
           
    if($status_ok)
    {
      $itemSet = $this->reqMgr->get_all_for_tcase($this->args[self::$testCaseIDParamName]);
    }

    return $status_ok ? $itemSet : $this->errors;
  }

(...)

'tl.getTestCaseRequirements' => 'this:getTestCaseRequirements',
TagsNo tags attached.
Database (MySQL,Postgres,etc)Postgres
Browser
PHP Version5.3
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0027491)
fman (administrator)
2018-05-30 17:18

code need work because grants to get the information required are missing

- Issue History
Date Modified Username Field Change
2018-05-30 15:59 salas New Issue
2018-05-30 17:18 fman Note Added: 0027491
2018-05-30 17:19 fman Assigned To => fman
2018-05-30 17:19 fman Status new => feedback



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker