-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I'm stuck on trying to filter allCards and wondering if you can provide an example of usage. Specifically I'm trying to filter by current_phase_age > 1 AND current_phase name equal to "some_name", but I'm really stuck.
print(pipefy.allCards(pipe_id, filter='{field: "current_phase_age", operator: gt, value: 1}'))returns:
pipefy.PipefyException: Argument 'value' on InputObject 'AdvancedSearch' has an invalid value (1). Expected type 'String'.It seems like the card field is an Int, but the AdvancedSearch is expecting a String. So, no problem, let's put quotes around our int:
print(pipefy.allCards(pipe_id, filter='{field: "current_phase_age", operator: gt, value: "1"}'))returns:
pipefy.PipefyException: Something went wrongI'm obviously not understanding something. And, as far as filtering on the phase name, I'm at a complete loss. I'd really appreciate any examples or direction you could give me.
Thanks so much!!
Metadata
Metadata
Assignees
Labels
No labels