Skip to main content

Hey all! In previous conversations it appears that in the past there used to be an action allowing you to retrieve a certain ClickUp task based on the value of one of its custom fields. As of now, I can only find actions that retrieve the most recent task or that search for a task based on its ID.

Is there a way to find a task based on my custom fields value?

 

 

Hi ​@Mtx 

It may involve using the ClickUp API:

Try this Zap action: ClickUp - API Request

https://clickup.com/api/clickupreference/operation/GetTasks/

https://clickup.com/api/developer-portal/filtertasks/

 


Thanks Troy! 

It appears that I’ll have to take the following steps:

  1. GET all fields in a list (needed to get my custom field ID)
  2. GET all tasks in a list
  3. SEARCH task that matches a certain value in a given custom field 

When I approach the first step using this api call: https://api.clickup.com/api/v2/list/(mylist)/field I get a 403 error, which I find strange given that Zapier is already connected to ClickUp so there should be no permission issue.


@Mtx 

For us to have context, post screenshots showing how your Zap step is configured in EDIT mode with all the field mappings visible along with the encountered error.



​​​​​​Setup tab

 

 

And attached you can find the API response! 


@Mtx 

Here’s the link to the ClickUp API endpoint documentation: https://clickup.com/api/clickupreference/operation/GetAccessibleCustomFields/

You need to add a Header:

  • Content-Type: applicaiton/json

 


Thanks for your availability, ​@Troy Tessalone ! I am a newbie with this and didn’t realise I was missing a header (thought it wasn’t the case for GET requests?)

Unfortunately, even when following those instructions I run into the same exact error. Note that I tried using both  application/json, “application/json” – still 403 error
 

 


@Mtx 

Required Headers are defined by the app’s API endpoint documentation.

The header should not have the double quotes around the value.

That appears to not be a valid List ID value.

Where did you get that List ID? (screenshot)

 

EXAMPLE

 


Reply