Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Is there any way Lock /Unlock tracker using API?
Hello @SJ_7748282 , you can use the following Swagger API endpoints:
"basicInformation": {
...
"locked": true/false,
...
},
5. Execute the Swagger API request.
Step 3 is crucial: sending a JSON without specific properties is the equivalent of setting those properties to a null value, which wipes out parts of the tracker configuration. See Article - CS412988 - Codebeamer Swagger API POST /v3/tracker/configuration wipes out existing tracker configuration for detailed information.
HI @alfonso_c ,
Thank you for your reply and solution i am already using this but for some trackers i am getting response-
any idea what it is about?
Hi @SJ_7748282 , I recommend having this analyzed as a possible Codebeamer unwanted behavior through a new Support ticket. In the ticket, please also include a template export from the affected tracker.
What I could find: I checked the code and this seems to refer to some type of "legacy" fields with "Same as" permission. 8 stands for the type of Access Control value. Using trial-error, you could also try to set the permissions of all fields having "Same as" to "Unrestricted" until the problem stops, so to know which field is the culprit: