Skip to main content

Problem updating the dependency column using API

  • November 17, 2021
  • 7 replies
  • 1045 views

JCorrell
Forum|alt.badge.img

From the API playground:

mutation{change_multiple_column_values(board_id:654, item_id:456,
  column_values: "{
  \\"notes\\" : \\"y\\",
  \\"effort\\":\\"3\\",
  \\"dependent_on\\":{\\"item_ids\\": [123,345]}
}"){id}}

returns error: SyntaxError: Unexpected token < in JSON at position 0
same syntax, changing “dependent_on” column to a “connect_boards” column with appropriate change in item id, works correctly

Any ideas?

This topic has been closed for replies.

7 replies

JCorrell
Forum|alt.badge.img
  • Author
  • Community Expert
  • November 18, 2021

Can anyone confirm that the API to update a dependency column even works?


dipro
Forum|alt.badge.img
  • Leader
  • November 19, 2021

Hey Jim,

You should be able to update the Dependency column in a similar way to the item link column; so your syntax is correct.

In fact, I was able to reproduce this issue. I’ve gone ahead and reported this to our developers and will update here when this is fixed!

Dipro 🔮


JCorrell
Forum|alt.badge.img
  • Author
  • Community Expert
  • November 19, 2021

@dipro

Thank you for the update.


  • New Participant
  • November 23, 2021

I am having exactly the same problem. Any help on a working syntax to get us by @dipro ? I am short on time 🙂


JCorrell
Forum|alt.badge.img
  • Author
  • Community Expert
  • November 24, 2021

@Trespaser5

This is now working. The syntax I gave at the top is correct.


  • New Participant
  • November 25, 2021

Thanks @JCorrell - this is fixed for me too 😄


JCorrell
Forum|alt.badge.img
  • Author
  • Community Expert
  • December 2, 2021

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.