REST API: Bugs

Methods


TypeVer.Command parameterParameters
Getters
GET3.2b2+ getBugsTree showClosedBugs=true|false
Example of success:

GET7+ getBugsTree treeFilter=<treeFilter>
(opt.) connectorIndex=<index>
Example of success:

GET3.2b2+ getBugForm
Example of success:

GET3.3 getGenericBugForm
Example of success:

GET5.0b0+ getExternalBugProjectForm (opt.) connectorIndex=<index>
Example of success:

GET5.0b0+ getExternalBugForm (opt.) connectorIndex=<index>
Example of success:

GET3.2b2+ getBugDetails bugId=<id>
frozen=<true|false>
(opt.) connectorIndex=<index>
Example of success:

GET3.2b2+ getBugDetailsRevision bugId=<id>
revision=<revision>
Example of success:

GET3.2sp3+ getBugAssignedTo bugId=<id>
Example of success:

GET3.2sp3+ getBugFoundIn bugId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET3.2sp3+ getBugFixedIn bugId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET3.2sp3+ getBugFollowers bugId=<id>
Example of success:

GET? getBugRootStatistics
Example of success:

GET? getBugFolderStatistics
Example of success:

GET11+ getBugsProgress folderId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET11+ getAssignedToBugsProgress folderId=<id>
username=<username>
(opt.) connectorIndex=<index>
Example of success:

GET11+ getReportedByBugsProgress folderId=<id>
username=<username>
(opt.) connectorIndex=<index>
Example of success:

GET5beta2+ getBugLinkedSutsFoundIn bugId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET5beta2+ getBugLinkedRequirements bugId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET5beta2+ getBugLinkedSpecifications bugId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET5beta2+ getBugLinkedTests bugIds=<id, id, ...>
Example of success:

GET7+ getBugLinkedTests bugIds=<id, id, ...>
(opt.) connectorIndex=<index>
Example of success:

GET5beta2+ getBugLinkedSessions bugId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET5beta2+ getBugLinkedExploratorySessions bugId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET3.0+ getBugCustomFields bugId=<id>
Example of success:

GET3.0+ getBugAttachments bugId=<id>
Example of success:

GET3.0+ getBugInheritedAttachments bugId=<id>
Example of success:

GET3.0+ getBugRevisions bugId=<id>
Example of success:

GET3.0+ getBugChanges bugId=<id>
Example of success:

GET6+ getBugFreezeStatus bugId=<id>
Example of success:

Setters
POST3.2sp3+createBug parentFolderId=<id>
(opt.) assignedToIds=<id, id, ...>
(opt.) foundInIds=<id, id, ...>
(opt.) followerIds=<id, id, ...>
Content of the form with values
(see getBugForm)
must be passed in the request's body
as multi-part.
Example of success:

POST3.3createGenericBug parentFolderId=<id>
Content of the form with values
(see getGenericBugForm)
must be passed in the request's body
as multi-part.
Example of success:

POST5.0b0+createExternalBug projectName=<name>
(opt.) sessionId=<id>
(opt.) testId=<id>
(opt.) instanceId=<id>
(opt.) agentId=<id>
(opt.) instanceIndex=<index>
Content of the form with values
(see getExternalBugForm)
must be passed in the request's body
as multi-part.
The optional parameters must be provided only if you want the bug to be automatically linked to a test execution.
In this case, you must provide one of those combinations:
- sessionId, testId and instanceId
- sessionId, testId, agentId and instanceIndex

Example of success:

POST3.2sp3+updateBugDetails Content of the form with values
(see getBugDetails)
must be passed in the request's body
as multi-part.
Example of success:

Example of failure:
POST5+updateBugsStatus bugIds=<id, id, ...>
status=<bugStatus>
Example of success:

Example of failure:
POST5+updateBugsPriority bugIds=<id, id, ...>
priority=<bugPriority>
Example of success:

Example of failure:
POST5+updateBugsSeverity bugIds=<id, id, ...>
severity=<bugSeverity>
Example of success:

Example of failure:
POST3.2sp3+assignBugTo bugId=<id>
userIds=<id, id, ...>
Assign a list of users to one specific bug.

Example of success:

POST11+assignBugsTo bugIds=<id, id, ...>
userId=<id>
Add a new assignee to a list of bugs.

Example of success:

POST3.3setBugFoundIn bugId=<id>
sutIds=<id, id, ...>
Example of success:

POST3.2sp3+setBugFixedIn bugId=<id>
sutId=<id>
Example of success:

POST6+setBugFixedIn bugId=<id>
sutIds=<id, id, ...>
Example of success:

POST3.2sp3+setBugFollowers bugId=<id>
userIds=<id, id, ...>
Example of success:

POST11+updateBugsFollowers bugIds=<id, id, ...>
userIds=<id, id, ...>
Example of success:

POST11+addBugsFollower bugIds=<id, id, ...>
followerId=<id>
Example of success:

POST11+removeBugsFollower bugIds=<id, id, ...>
followerId=<id>
Example of success:

POST3.3sp1+linkBugsToTestExecution sessionId=<id>
testId=<id>
instanceId=<id>
(opt.) connectorIndex=<index>

The list of the bug Ids
must be passed in the request's body
in the object list format

Example of success:

Example of failure:
POST3.2+insertBugCustomFieldValue bugId=<id>
type=<customFieldType>
customFieldId=<id>
customFieldValue=<value>...
Example of success:

POST3.2sp3+moveBugs bugIds=<id, id, ...>
bugNames=<name, name, ...>
destParentFolderId=<id>
Example of success:

POST9+moveGenericBugs bugIds=<id, id, ...>
destParentFolderId=<id>
Example of success:

POST6+freezeBug bugId=<id>
Example of success:

POST6+unfreezeBug bugId=<id>
Example of success:

POST3.0+deleteBugs bugIds=<id, id, ...>
Example of success:

POST9+deleteGenericBugs bugIds=<id, id, ...>
Example of success: