Giter VIP home page Giter VIP logo

go-clickup's Issues

List of Tasks API is not working with date filter

i'm trying to collect ClickUp tasks which are updated after specific date.
using this filter DateUpdatedGt.
and order by updated field.

as a result - DateUpdatedGt is not added to the final query and API return me all tickets , just ordered by updated field.

can you fix it?

Task points float value

Clickup provides ability to add custom value points and they can be float, so if you try to get task with float points it will return json unmarshal error
json: cannot unmarshal number 0.5 into Go struct field Task.points of type int

Add GetSeats and GetPlan

I am working on a Terraform Provider for ClickUp here and I noticed that GetSeats and GetPlan was missing. So I thought I would add them. Wasn't sure if you required issues for PR so I am making this just to cover my bases.

#46

Adds two new functions on the TeamsService: GetSeats and GetPlan. I tried to follow the best I could with coding style and structure that already exists. Please let me know if you need anything before it can be merged.

JSON Marshalling Issue

Hi,

It looks like in many places the property Orderindex is incorrectly typed as an int examples:

Orderindex int `json:"orderindex"`

Orderindex int `json:"orderindex"`

This leads to errors such as json: cannot unmarshal number 2.5 into Go struct field Item.tasks.checklists.items.orderindex of type int (SQLSTATE HV000) when attempting to obtain data where the orderindex isn't an exact integer.

Removing due date

The Clickup API docs say you can remove a field during an update by passing a null. Is there a way to remove the due date using the TaskRequest struct and calling the UpdateTask method. I've tried using 0 for the due date but that has no effect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.