Table of Contents | ||
---|---|---|
|
...
Create test case
POST /testcase
Description
Create test case.
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Test case object which needs to create. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
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
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
QueryParameter | testScenarioIssueId | Issue id of test scenario. | true | integer (int64) | |
BodyParameter | body | An array of test case issue ids. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
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
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Source folder Id, destination folder id, project id, name of folder. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in copying a folder. | No Content |
...
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Folder data object that needs to create. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in creating a folder. | No Content |
...
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Folder id, destination (new parent) folder id, project id. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in moving a folder. | No Content |
...
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
PathParameter | folderId | Folder id to be delete | true | integer (int64) | |
PathParameter | projectId | Current project id | true | integer (int64) | |
PathParameter | destinationFolderId | Destination folder id to move current folder data | true | integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in moving a folder. | No Content |
...
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | project id to get list of folders for particular project | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
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 Code | Description | Schema |
---|---|---|
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
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Current folder id to rename. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
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
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Folder data to get list of testcases based on filter/jql. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
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
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Folder id and issue id of newly created testcase. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
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
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Story issue id, list of test case id,folder id, filter by. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in add test case to story. | No Content |
Consumes
application/json
...
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Test run id, list of test case id. | true |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in add test case to story. | No Content |
Consumes
application/json
...
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Folder id, destination folder id and selected list of testcase id. | true | 907739244FolderCopyMoveTestCaseRequest |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in copying test cases to folder. | No Content |
...
Parameters
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
BodyParameter | body | Folder id, destination folder id and selected list of testcase id. | true | 907739244FolderCopyMoveTestCaseRequest |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Successful operation. | No Content |
500 | Returned if there is some problem in copying test cases to folder. | No Content |
...
Name | Description | Required | Schema | Example |
---|---|---|---|---|
folderId | ID of the folder to Get Data | true | integer (int32) | |
filterBy | Filder TestCase | false | array[907739244KeyValue] | [{key: "searchText", value: ["Test case1"]}] |
jql | Filter TestCase by JQL | false | string | |
maxResults | MaxResult to Show | false | integer (int32) | |
offset | Offset for Result | false | integer (int32) | |
projectId | Offset for Result | false | integer (int32) | |
sortColumn | name of the Column to Sort ex.key,summary,createdby | false | string | |
sortOrder | Order of the sorting Column ex.asc,desc | false | string | |
savePreference | Save Folder Filter Preference | false | boolean |
...
Name | Description | Required | Schema | Default |
---|---|---|---|---|
folderId | - | false | integer (int32) | |
destinationFolderId | - | false | integer (int32) | |
parentFolderId | - | false | integer (int32) | |
newParentFolderId | - | false | integer (int32) | |
folderFilterId | - | false | integer (int32) | |
name | - | false | string | |
projectId | - | false | integer (int32) | |
maxResults | - | false | integer (int32) | |
offset | - | false | integer (int32) | |
filterBy | - | false | array[907739244KeyValue] | |
folderPreference | - | false | string | |
jql | - | false | string | |
testcaseId | - | false | integer (int32) | |
testcaseIdList | - | false | array[integer] | |
uncheckTestCases | - | false | array[integer] | |
isAllSelected | - | false | boolean | |
searchText | - | false | string | |
createdBy | - | false | string | |
createdOn | - | false | string (date-time) | |
lastUpdatedBy | - | false | string | |
lastUpdatedOn | - | false | string (date-time) | |
subFolderCount | - | false | integer (int32) | |
testRunIdToLink | - | false | string | |
storyIdToLink | - | false | integer (int32) | |
sortColumn | - | false | string | |
sortOrder | - | false | string |
...
Name | Description | Required | Schema | Example |
---|---|---|---|---|
folderId | Source Folder ID | true | integer (int32) | |
destinationFolderId | Destination folder ID | true | integer (int32) | |
testcaseIdList | List of TestCase Ids to Copy | true | array[integer] | |
isAllSelected | All TestCase Selected Within Folder | false | boolean | |
jql | JQL to filter the TestCase | false | string | |
filterBy | Filder TestCase | false | array[907739244KeyValue] | [{key: "searchText", value: ["Test case1"]}] |
...