Versions Compared

Key

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

/rest/defectTrackers/list

 

Descriptor

Value

HTTP Method

GET

Description

Retrieve a list of defect trackers.

Restricted

True

 

Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.

 

Sample Call:

Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' http://localhost:8080/threadfix/rest/defectTrackers/list?apiKey={apiKey}

 

Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "id": 3,
            "name": "Bugzilla",
            "url": "http://bugzilla.url.here/",
            "defaultProductName": "ForThreadFix",
            "defectTrackerType": {
                "id": 1,
                "name": "Bugzilla 4.x"
 
            }
        },
        {
            "id": 6,
            "name": "Bugzilla 5",
            "url": "http://bugzilla5.url.here/",
            "defaultProductName": "Marcomedia Flatch Player",
            "defectTrackerType": {
                "id": 6,
                "name": "Bugzilla 5.x"
 
            }
        },
        {
            "id": 5,
            "name": "JIRA Tracker",
            "url": "https://yourproject.atlassian.net/",
            "defaultProductName": "ThreadFix",
            "defectTrackerType": {
                "id": 3,
                "name": "JIRA"
 
            }
        }
    ]
}

 


Page Tree
rootThreadFix Defect Trackers API