Custom field value via API

Hi, i cannot figure out how to get the custom field value for a task using the API V4

Cheers,

0
7 comments
Spot On Innovative Approach Stellar Advice
Avatar

Hi @Stéphane Goyet, welcome to the Community!

Have you checked our Developers portal here? If you still need help with this, please let me know and I'll raise a ticket for you with our advanced support! 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

I'm having the same problem. New to the API but I'm not sure when I query Tasks how to view the values of the custom fields on that task.

 

Seems like the Customer Fields page on the Developers portal only shows you how to view the definition of the fields themselves, not what value they take on a particular task.

 

Is it possible to see the task-level values of custom fields via API?

 

Thanks.

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Jared Silver,

Thanks for your interest in Wrike API. To get custom field values for the particular tasks, please perform the GET/ task call and include task Ids in the endpoint (no additional parameters are required):

GET https://www.wrike.com/api/v4/tasks/taskId 

Here is my test in the Postman environment:


If you would like to query all tasks in your account and have Custom field values included in the response, please try the standard GET/ tasks call with the additional parameter ?fields=[customFields]. A sample request is shown below in cURL format:

Please check out our Developers portal for additional details about Tasks API requests: https://developers.wrike.com/api/v4/tasks/

I hope this helps. Please let me know if any questions arise, I will be happy to assist!

Lisa K. Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa K. Wrike Team member Become a Wrike expert with Wrike Discover

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Lisa,

if I make this same request in postman, on a task with some values in my customfields, I don't get any list or values like you. 

What could be the problem? GET https://www.wrike.com/api/v4/tasks/taskId

 

Thanks in advance.

Gorka.

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Gorka Remirez, welcome to the Community! 👋

I can see that you've already discussed this with our Support team 👍

Please let me know if I can help you with anything else.  

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Yes, I sent it to support, thanks.

Now it is running as you said Lisa

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Great to hear that Gorka Remirez 🙌

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
Comment actions Permalink

Folllowing List for Post: Custom field value via API
[this list is visible for admins and agents only]

Top
Didn’t find what you were looking for? Write new post