Versions Compared

Key

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

/rest/{version}/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.

Required Permission

Read Access (Any Role)

Version Introduced2.4.0
 


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' -H "Authorization: APIKEY {apiKey}" http://localhost:8080/threadfix/rest/latest/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
rootDefect Trackers API