As we reach the end of September 2024, ThreadFix version 3.x on-premises has officially reached its End-of-Life. Therefore, there is no longer support or updates for this version of the product. We have fully transitioned our product and development teams to focus ThreadFix SaaS and migrating all customers over from the on-premises versions. Our Customer Success and Support teams are here to help you in migrating to ThreadFix SaaS and maximizing the value you see from this improved offering from Coalfire. This is the next phase of ThreadFix and our team is looking forward to continuing to support you on this journey.

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 3 Next »

/rest/{version}/defects/{appId}/defectTrackerFields


Descriptor

Value

HTTP Method

GET

Description

Retrieves the fields for the defect tracker attached to the app with the given appId and returns as JSON.

Required Permission

Submit Defects

Version Introduced2.3.0

Changes in 2.4.5

Adds 2 new fields, typeaheadEndpoint and typeaheadProject to the response.


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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


Sample Call:


curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" http://localhost:8080/threadfix/rest/latest/defects/1/defectTrackerFields
 


Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "name": "issuetype",
            "label": "Issue Type",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": true,
            "type": "select",
            "active": true,
            "supportsMultivalue": false,
            "show": null,
            "step": null,
            "optionsMap": {
                "1": "Bug",
                "2": "New Feature",
                "7": "Story",
                "3": "Task"
            }
        },
        {
            "name": "summary",
            "label": "Summary",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": true,
            "type": "text",
            "active": true,
            "supportsMultivalue": false,
            "show": "issuetype=1",
            "step": null,
            "optionsMap": null
        },
        {
            "name": "description",
            "label": "Description",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": false,
            "type": "text",
            "active": true,
            "supportsMultivalue": false,
            "show": "issuetype=1",
            "step": null,
            "optionsMap": null
        },
        {
            "name": "project",
            "label": "Project",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": true,
            "type": "select",
            "active": true,
            "supportsMultivalue": false,
            "show": "issuetype=1",
            "step": null,
            "optionsMap": {
                "10000": "ThreadFix"
            }
        },
        {
            "name": "customfield_11100",
            "label": "Request participants",
            "typeaheadField": "customfield_11100",
            "typeaheadAcceptedType": "user",
            "typeaheadEndpoint": "/rest/api/latest/user/search",
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": false,
            "type": "typeahead",
            "active": true,
            "supportsMultivalue": false,
            "show": "issuetype=1",
            "step": null,
            "optionsMap": null
        },
        {
            "name": "timetracking_originalestimate",
            "label": "Original Estimate",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": false,
            "type": "text",
            "active": true,
            "supportsMultivalue": false,
            "show": null,
            "step": null,
            "optionsMap": null
        },
        {
            "name": "timetracking_remainingestimate",
            "label": "Remaining Estimate",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": false,
            "type": "text",
            "active": true,
            "supportsMultivalue": false,
            "show": null,
            "step": null,
            "optionsMap": null
        },
        {
            "name": "customfield_10500",
            "label": "Test",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": true,
            "type": "text",
            "active": true,
            "supportsMultivalue": false,
            "show": "issuetype=1",
            "step": null,
            "optionsMap": null
        },
… {items omitted for brevity} …
 
{
            "name": "AdditionalScannerInfo",
            "label": "Include Scanner Detail",
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": false,
            "type": "checkbox",
            "active": true,
            "supportsMultivalue": false,
            "show": null,
            "step": null,
            "optionsMap": null
        },
        {
            "name": "vulnerabilityIds",
            "label": null,
            "typeaheadField": null,
            "typeaheadAcceptedType": null,
            "typeaheadEndpoint": null,
            "typeaheadProject": null,
            "value": null,
            "maxLength": 0,
            "minLength": 0,
            "minValue": null,
            "maxValue": null,
            "required": true,
            "type": "list",
            "active": true,
            "supportsMultivalue": false,
            "show": null,
            "step": null,
            "optionsMap": null
        }
    ]
}

The selected root page could not be found.

  • No labels