Versions Compared

Key

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

Table of Contents
maxLevel3

...

Create test case

POST /testcase

Description

Create test case.


Parameters

TypeNameDescriptionRequiredSchemaDefault

BodyParameter

body

Test case object which needs to create.

true

907739244JiraCreateIssueDetails




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if the given request data is invalid.

No Content

403

Returned if the currently athenticated user does not have permission to create test case.

No Content

404

Returned if the required request data is not provided.

No Content

500

Returned if there is some problem while creating test case.

No Content



Consumes

  • application/json


Produces

  • application/json


Tags

  • Test Case

...

Link test case in bulk to test scenario

PUT /testcase/link

Description

Link test case in bulk with given test scenario.


Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

testScenarioIssueId

Issue id of test scenario.

true

integer (int64)


BodyParameter

body

An array of test case issue ids.

true

907739244TestCaseIssueIdsRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation

No Content

400

Returned if the given test scenario issue id / test case issue id is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to associate test case.

No Content

404

Returned if the test scenario or test case issue ids are not provided.

No Content

500

Returned if exception occured during linking of test case.

No Content



Consumes

  • application/json


Produces

  • application/json


Tags

  • Test Case

...

Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameter

body

Source folder Id, destination folder id, project id, name of folder.

true

FolderCopyRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in copying a folder.

No Content


...

Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameter

body

Folder data object that needs to create.

true

907739244FolderCreateRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in creating a folder.

No Content


...

Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameter

body

Folder id, destination (new parent) folder id, project id.

true

907739244FolderMoveRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in moving a folder.

No Content


...

Parameters

TypeNameDescriptionRequiredSchemaDefault
PathParameter

folderId

Folder id to be delete

true

integer (int64)


PathParameterprojectIdCurrent project idtrueinteger (int64)
PathParameterdestinationFolderIdDestination folder id to move current folder datatrueinteger (int64)



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in moving a folder.

No Content


...

Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameter

body

project id to get list of folders for particular project

true

907739244FolderPathRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in fetching a list of folder.

No Content


Consumes

  • application/json

...

Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in fetching a list of project.

No Content


Consumes

  • application/json

...

Produces

  • application/json


Tags

  • Test Case

Update a folder

PUT /folder/rename


Description

Current folder id to rename.


Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameter

body

Current folder id to rename.

true

907739244FolderUpdateRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in  updating a folder.

No Content


Consumes

  • application/json

...

Tags

  • Test Case

Get Folder Data

POST /folder/testcases


Description

Get folder data.


Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameter

body

Folder data to get list of testcases based on filter/jql.

true

907739244FolderGetFolderDataRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in getting a folder data.

No Content


Consumes

  • application/json

...

Create New Test Cases in Folder

POST /folder/testcases/add


Description

Create new test case in specific folder.


Parameters

TypeNameDescriptionRequiredSchemaDefault
BodyParameter

body

Folder id and issue id of newly created testcase.

true

907739244FolderDataRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in getting a folder data.

No Content


Consumes

  • application/json

...

PUT /folder/testcases/addToStory


Description

Add selected test cases to specified story.


Parameters

TypeNameDescriptionRequiredSchemaDefault

BodyParameter


body


Story issue id, list of test case id,folder id, filter by.

true

907739244FolderDataRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in add test case to story.

No Content


Consumes

  • application/json

...

Parameters

TypeNameDescriptionRequiredSchemaDefault

BodyParameter


body

Test run id, list of test case id.

true

907739244FolderDataRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in add test case to story.

No Content


Consumes

  • application/json

...

Parameters

TypeNameDescriptionRequiredSchemaDefault

BodyParameter


body

Folder id, destination folder id and selected list of testcase id.

true

907739244FolderCopyMoveTestCaseRequest





Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in copying test cases to folder. 

No Content


...

Parameters

TypeNameDescriptionRequiredSchemaDefault

BodyParameter


body

Folder id, destination folder id and selected list of testcase id.

true

907739244FolderCopyMoveTestCaseRequest





Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

500

Returned if there is some problem in copying test cases to folder. 

No Content


...

NameDescriptionRequiredSchemaExample
folderIdID of the folder to Get Datatrueinteger (int32)
filterByFilder TestCasefalsearray[907739244KeyValue][{key: "searchText", value: ["Test case1"]}]
jqlFilter TestCase by JQLfalsestring
maxResultsMaxResult to Showfalseinteger (int32)
offsetOffset for Resultfalseinteger (int32)
projectIdOffset for Resultfalseinteger (int32)
sortColumnname of the Column to Sort ex.key,summary,createdbyfalsestring
sortOrderOrder of the sorting Column ex.asc,descfalsestring
savePreferenceSave Folder Filter Preferencefalseboolean

...

NameDescriptionRequiredSchemaDefault
folderId-falseinteger (int32)
destinationFolderId-falseinteger (int32)
parentFolderId-falseinteger (int32)
newParentFolderId-falseinteger (int32)
folderFilterId-falseinteger (int32)
name-falsestring
projectId-falseinteger (int32)
maxResults-falseinteger (int32)
offset-falseinteger (int32)
filterBy-falsearray[907739244KeyValue]
folderPreference-falsestring
jql-falsestring
testcaseId-falseinteger (int32)
testcaseIdList-falsearray[integer]
uncheckTestCases-falsearray[integer]
isAllSelected-falseboolean
searchText-falsestring
createdBy-falsestring
createdOn-falsestring (date-time)
lastUpdatedBy-falsestring
lastUpdatedOn-falsestring (date-time)
subFolderCount-falseinteger (int32)
testRunIdToLink-falsestring
storyIdToLink-falseinteger (int32)
sortColumn-falsestring
sortOrder-falsestring

...

NameDescriptionRequiredSchemaExample
folderIdSource Folder IDtrueinteger (int32)
destinationFolderIdDestination folder IDtrueinteger (int32)
testcaseIdListList of TestCase Ids to Copytruearray[integer]
isAllSelectedAll TestCase Selected Within Folderfalseboolean
jqlJQL to filter the TestCasefalsestring
filterByFilder TestCasefalsearray[907739244KeyValue][{key: "searchText", value: ["Test case1"]}]

...