Critical path in API differs from UI

edited 05/20/20 in API & Developers
05/20/20 Edited 05/20/20
Answered - Pending Review

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.

  • Hi @Vladislav Lehelt

    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

Sign In or Register to comment.