Critical path in API differs from UI
differs = do not work
Project: https://app.smartsheet.com/b/publish?EQBCT=f76e6458a3f64d7d8186be3ed70674ce
In UI critical path contains more then 20 rows. For example #6,#7,#8,#9, etc.
In API I see only two elements. #44 and #45.
I checked my other project. Behavior is the same. In UI critical path is correct, in API is wrong.
Result from API:
curl -s https://api.smartsheet.com/2.0/sheets/5737448354408324 -H "Authorization: Bearer <INSERT YOUR TOKEN HERE>" | jqΒ '.rows[] | select(.inCriticalPath == true) | {id: .id, name: .
cells[1], inCriticalPath: .inCriticalPath}'
{
Β "id": 5651459277121412,
Β "name": {
Β Β "columnId": 1729420890269572,
Β Β "value": 44,
Β Β "displayValue": "44"
Β },
Β "inCriticalPath": true
}
{
Β "id": 3399659463436164,
Β "name": {
Β Β "columnId": 1729420890269572,
Β Β "value": 45,
Β Β "displayValue": "45"
Β },
Β "inCriticalPath": true
}
Answers
-
I tried:
- turn off/on critical path in UI
- turn off/on dependencies
Doesn't help at all.
-
If you're finding discrepancies between the Smartsheet API and UI, please do submit a Support Ticket so that our team can troubleshoot this. The steps you've provided here are very useful, so please provide them with a link to this post.
Thanks!
Genevieve
Need more information? π | Help and Learning Center
γγγ«γ‘γ― (Konnichiwa), Hallo, Hola, Bonjour, OlΓ‘, Ciao!π | Global Discussions