API for Issues

Get List of Issues

POST /rest/issues/list

Description

API to list issues

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of issues shown successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get Issue list along with Custom Fields (Only for projects that are not integrated wtih Jira)

POST /rest/issues/list/viewColumns

Description

Fetch specific data of Issues with custom fields.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
viewIdbodyyesView ID of the user for that particular project and Issue module. View ID can be fetched from latestViews section of Getinfo API.-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issue list fetched successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Create Issue

POST /rest/issues

Description

API to create internal Issue

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
sync_withbodyyesigConfigurationID of Jira or 'internalTrackerId' if external Project isn't configured-integer
issueTypebodyyesType Id of Issue-integer
issuePrioritybodyyesPriorityId of Issue-integer
issueOwnerbodynoOwnerId of Issue-integer
summarybodyyesprovide summary-string
componentbodynoLabelId of Issue-integer
releasebodynoAssociated Release(s) Id-integer
affectedVersionbodynoRelease Id of Issue-integer
environmentbodynoEnvironment-string
descriptionbodynoDescription-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issue created successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Update Issue

PUT /rest/issues

Description

API to update internal Issue

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
sync_withbodynoigConfigurationID of Jira or 'internalTrackerId' if external Project isn't configured-integer
issueTypebodynoType Id of Issue-integer
issuePrioritybodynoPriorityId of Issue-integer
issueOwnerbodynoOwnerId of Issue-integer
summarybodynoprovide summary-string
componentbodynoLabelId of Issue-integer
releasebodynoAssociated Release(s) Id-integer
affectedVersionbodynoRelease Id of Issue-integer
environmentbodynoEnvironment-string
descriptionbodynoDescription-string
DefectIdbodyyesId of Issue-integer
entityKeybodyyesEntityKey of Issue-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issue updated successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Delete Issue

POST /rest/issues/deleteEntity

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
entityIdsbodyyesId of issues to delete-Array[integer]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues deleted successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get List of Available Issues to Link During Execution (Deprecated)

POST /rest/issues/internallist

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
startbodyyesstart index of records-integer
limitbodyyesnumber of records per page-integer
pagebodyyespage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of issues to link to execution successfully fetchedResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of Requirements linked to Issue

POST /rest/requirements/list/forIS

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
dfIDbodynoId of issue-integer
startbodynoStart index of records-integer
getLinkedbodynoTrue to get only those requirements that are linked with this Issue, false to get those requirements which are not linked with this Issue-boolean
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
getColumnsbodynoTrue to get list of all available filters(System + UDF) in 'filterTemplate' field-boolean
udfFilterbodynoApply filter on user defined fields' values-Array[UdfFilter]
filterbodynoSystem filters to be applied-Array[Filter]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Requirement list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Link Requirements to Issue

PUT /rest/issues/link/requirements

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
isIDbodyyesEntityKey of Issue-string
rqIDsbodyyesID of Requirements to link with the Issue-Array[integer]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Requirements successfully linked to issueResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Unlink Requirements from Issues

PUT /rest/issues/unlink/requirements

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
isIDbodyyesEntityKey of Issue to unlink Requirements from-string
rqIDsbodyyesUnique identifier of Requirements that are to be unlinked from Issue-Array[integer]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Selected entities unlinked successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Definitions

ResponseEntity
nametyperequireddescriptionexample
headersobjectoptional-
bodyobjectoptional-
statusCodestringoptional-
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
Filter
nametyperequireddescriptionexample
valueobjectrequiredValue to search based on type of filter
comparisonstringrequiredThe comparision operator 'lt' or 'gt' for Date type filter
typestringrequiredType of Filter
fieldstringrequiredField name on which filter is to be applied