Skip to main content

Using API to set Timeline Value as Milestone

  • April 20, 2022
  • 4 replies
  • 1081 views

How do I use the API to set a timeline column type value as a milestone?

I can set the the from and to with the API but there is no milestone option. If I manually mark a timeline value as a milestone through the website, then I update the date using the API it remove the milestone flag.

https://api.developer.monday.com/docs/timeline

This topic has been closed for replies.

4 replies

basdebruin
  • Community Expert
  • April 20, 2022

hi @cotani

Welcome to the community, a great way to get answers and ideas. Have you tried to set the value in the API to:

"{\\"to\\":\\"2020-10-14\\",\\"from\\":\\"2020-10-14\\",\\"visualization_type\\":\\"milestone\\"}"

  • Author
  • New Participant
  • April 20, 2022

That did the trick. Thanks for the quick reply!

It would be great if that was added to the documentation.


basdebruin
  • Community Expert
  • April 20, 2022

There are indeed bits and pieces missing in the doc. What I do in these cases is to setup the column in the UI as required (in this case with a milestone timeline) and query the column in the API playground.


  • April 27, 2022

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