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.

Update Defect Tracker - API

/rest/{version}/defectTrackers/{defectTrackerId}/update


Descriptor

Value

HTTP Method

PUT

Description

Update fields of a Defect Tracker

Required Permission

Manage Defect Trackers

Version Introduced2.5.1.17


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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


Request PUT Data Parameters

Parameter

Value

Required

Description

name

String

No

The new name to give the defect tracker.

url

String

No

The new URL to give the defect tracker.

defaultUsername

String

Yes

The user to set as the defaultUsername, this field is required to ensure access to the defect tracker is retained.

defaultPassword

String

Yes

The password to go along with the specified defaultUsername.


Sample Call:

curl -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X PUT --data 'name=Rest Test 4&defaultUsername=validUsername&defaultPassword=validPassword&url=https://yourproject.atlassian.net/' http://localhost:8080/threadfix/rest/latest/defectTrackers/4/update


Sample Output:


{
  "message": "",
  "success": true,
  "responseCode": -1,
  "object": "Fields Updated Successfully."
}

www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.

This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.