Versions Compared

Key

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

/rest/applications/{appId}/appTrackers/listApplicationDefectTrackers

 

Descriptor

Value

HTTP Method

GET

Description

Get the ID and project name for every Application Defect Tracker attached to the specified application.

Restricted

False

 

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/applications/1/appTrackers/listApplicationDefectTrackers?apiKey={apiKey}
 


Sample Output:


Code Block
themeEclipse
[
    {
        "id": 7,
        "projectName": "LimitPermission",
        "projectId": "LIM",
        "defectTracker": {
            "id": 8,
            "name": "Test Credentials",
            "url": "https:// yourproject.atlassian.net /",
            "defectTrackerType": {
                "id": 3,
                "name": "JIRA"
 
            }
        },
        "mainDefaultDefectProfile": null,
        "useDefaultCredentials": true,
        "useDefaultProject": false
    },
    {
        "id": 9,
        "projectName": "ForThreadFix",
        "projectId": "2",
        "defectTracker": {
            "id": 3,
            "name": "Bugzilla",
            "url": "http://bugzilla.url.here/",
            "defectTrackerType": {
                "id": 1,
                "name": "Bugzilla 4.x"
 
            }
        },
        "mainDefaultDefectProfile": null,
        "useDefaultCredentials": true,
        "useDefaultProject": true
    },
    {
        "id": 10,
        "projectName": "Goofy Name",
        "projectId": "GOOF",
        "defectTracker": {
            "id": 8,
            "name": "Test Credentials",
            "url": "https:// yourproject.atlassian.net /",
            "defectTrackerType": {
                "id": 3,
                "name": "JIRA"
 
            }
        },
        "mainDefaultDefectProfile": null,
        "useDefaultCredentials": true,
        "useDefaultProject": false
    },
    {
        "id": 11,
        "projectName": "ThreadFix",
        "projectId": "THREAD",
        "defectTracker": {
            "id": 5,
            "name": "JIRA Tracker",
            "url": "https:// yourproject.atlassian.net /",
            "defectTrackerType": {
                "id": 3,
                "name": "JIRA"
 
            }
        },
        "mainDefaultDefectProfile": null,
        "useDefaultCredentials": true,
        "useDefaultProject": true
    }
]


 

Page Tree
rootThreadFix Defect Trackers API