As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

/rest/{version}/cicd/defectReporting/{id}/detail


Descriptor

Value

HTTP Method

GET

Description

Returns CI/CD Defect Reporter details.

Required Permission

Manage CI/CD

Version Introduced2.5.0
 Change in 2.6Replaced the name field in the object with display. Also added a display item corresponding with applicationDefectTrackers.


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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


Sample Calls:

curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" -X GET http://localhost:8080/threadfix/rest/cicd/defectReporting/1/detail


Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": {
        "id": 1,
        "minimum": false,
        "applicationDefectTrackers": [
            {
                "id": 1,
                "projectName": "ThreadFix",
                "defectTracker": {
                    "id": 1,
                    "name": "JARI",
                    "url": "https://your.atlassian.project/",
                    "defectTrackerType": {
                        "id": 3,
                        "name": "JIRA"
                    }
                },
                "application": {
                    "id": 1,
                    "name": "Test",
                    "url": null,
                    "applicationCriticality": {
                        "id": 2,
                        "name": "Medium"
                    },
                    "team": {
                        "name": "Test",
                        "id": 1
                    }
                },
                "display": "JARI (JIRA) ThreadFix"
            }
        ],
        "groupBy": "CWE",
        "display": "Medium"
    },
    "links": [
        {
            "name": "list",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/",
            "method": "GET"
        },
        {
            "name": "detail",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/1/detail",
            "method": "GET"
        },
        {
            "name": "create",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/create",
            "method": "POST"
        },
        {
            "name": "update",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/1/update",
            "method": "PUT"
        },
        {
            "name": "delete",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/1/delete",
            "method": "DELETE"
        }
    ]
}

  • No labels