trix-solutions/moncli

Fails to retrieve 'timerange' values for some items on board

matpearsons opened this issue · 9 comments

Hi there,

Im finding when I iterate through a board and try to pull the value for a timerange style column, it consistently fails to pull the value for some items, repeated running appears to produce the same results. i.e. it skips the same items each time.

Ive attached a screen grab of the board, and a screen grab of the output from a basic script I wrote to PoC the issue. Ive attached the script too.

Is it something ive messed up?

Many thanks.

Cheers,

Mat

date_sample.py.txt
Screenshot 2022-02-02 at 09 56 21
Screenshot 2022-02-02 at 09 57 30

@matpearsons

Thank you for bringing this to my attention. Honestly, it is hard to say what is happening here.

Would it be possible for you to query one of the items in question using the monday.com API playground? That way I may more properly see the state of your data and see if there is some missing data mapping in the Timeline column.

Thank you!

Andrew,

Many thanks for looking at this.
Hopefully the attached is what you are looking for? Let me know if you need anything further.

Cheers
Mat

Screenshot 2022-02-07 at 13 14 36

Andrew,

Apologies, im not particularly familiar with the API playground, hopefully this is what you meant

Cheers

Mat

Screenshot 2022-02-07 at 13 36 41

@matpearsons

Thank you for this. I will check this out today.

Andrew

@matpearsons

This was exactly what I was looking for, thank you!

The one thing that seemed strange was that for all of your values, the 'visualization_type' is coming in as a null value, something that does not occur in my environment when the milestone visualization option is not applied. I have accounted for this "additional" data format with the new v2.0.9.

Please let me know if you are still running into problems with this issue.

Thanks again!

Andrew,

Many thanks, I can confirm that that has resolved it.

Cheers

Mat