Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

...

POST /rest/requirements/list/viewColumns

Description

Fetch data of Requirements along with custom fields. Returns data from latest version.

Request

Content-Type: application/json

...

NameLocated inRequiredDescriptionDefaultSchema
viewIdbodyyesView ID of the user for that particular project and Requirement module. View ID can be fetched from latestViews section of Getinfo API.-integer
folderPathbodyyesPath of folder whose Requirements are to be fetched-string
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
scopebodyyes"project"-string

Response

Content-Type: application/json

...

POST /rest/requirements/list/forIS

Description

Get Requirement list based on particular id of issue.

Request

Content-Type: application/json

...

POST /rest/issues/list/ForRQ

Description

Get issue list based on the particular requirement

Request

Content-Type: application/json

...

POST /rest/requirements/list/forTS

Description

Requirement list for Test Suite.

Request

Content-Type: application/json

...

NameLocated inRequiredDescriptionDefaultSchema
Unarchive Folder RequestbodyyesUnarchive Folder Inputs-RqFolderUnarchiveRequestDetail

...

Get Testcase List for Requirement

POST /rest/testcases/list/forRQ

Getting test case list based on particular id of requirement.

Request

Content-Type: application/json

...

NameLocated inRequiredDescriptionDefaultSchema
rqIDbodyyesEntitykey of the Requirement-string
rqVersionIdbodyyesComma-separated list of versionId to the Requirement-string
tcVersionIdsbodyyesVersionId of Test Case-integer
rqEntitykeysbodynoComma-separated list of EntityKey to the Requirement-string

Response

Content-Type: application/json

...

Status CodeReasonResponse Model
200successfully get list of users for projectResponseEntity
400Invalid json object or mandatory fields missing-
500Returned when server connection times out-


Get BDD Branch List

POST /rest/requirements/getBranchList

Description

Get the branch of repository.

Request

Content-Type: application/json

...

Pull File from Repository

POST /rest/requirements/pullFile

Request

Content-Type: application/json

...

Push File to Repository

POST /rest/requirements/pushFile

Request

Content-Type: application/json

...

Update Requirements with BDD data

PUT /rest/requirements

Request

Content-Type: application/json

...


Status CodeReasonResponse Model
200Requirement updated successfullyRequirementRepository
400Returned in case of- Invalid json object or invalid UDF-
401Unautorised, insufficient privileges or session expired-
500Returned when server connection times out-


Get BDD Folder Tree

POST /rest/requirements/getBDDFolderTree

Description

Get list of associated folders

Request

Content-Type: application/json


Name
Located in
Required
Description
Default
Schema
bddConfigIDbodyyesID of BDD repository for particular project from DB.-integer
bddBranchbodyyesBranch name of repository.-string
folderPathbodynoPath of the folder for which user wants to get the child folders in case of BitBucket repository.-string


Note: In case of Bitbucket repository, the API request returns first level of directory structure. To drill down to child folders, call the API again with the "folderPath" parameter that contains "fullPath" from the previous API response.

...

nametyperequireddescriptionexample
headersobjectoptional-
bodyobjectoptional-
statusCodestringoptional-



RequirementRepository
Anchor
ReqRepo
ReqRepo
nametyperequireddescriptionexample
managerEntityManageroptional-
fieldMapForViewColumnsobjectoptional-
joinExistsListForTSarray[string]optional-
nametyperequireddescriptionexamplemanagerEntityManager
optional-


ReleaseCycleMapping
nametyperequireddescriptionexample
releaseintegerrequiredId of Release
cyclearray[integer]requiredAn array of cycle's Id
versionintegerrequiredNumber of the version

...

nametyperequireddescriptionexample
rqFolderIDsarray[integer]requiredArray of Requirement Folder Ids
isBulkOperationbooleanoptionalIs from BulkOperation flag
isSingleOperationbooleanoptionalIs single operation
includeRootFolderEntitiesbooleanoptionalRequired to include Root Folder Entities


UdfFilter
Anchor
UdfFilter
UdfFilter
nametyperequireddescriptionexample
typestringrequiredType of Filter
valuestringrequiredValue to search based on type of UDF
udfmIDintegerrequiredUnique Identifier based on project-module-udf-user
fieldstringrequiredName of User Defined Field

...

nametyperequireddescriptionexamplemanagerEntityManageroptional-fieldMapForViewColumnsobjectoptional-joinExistsListForTSarray[string]optional-