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
10 commentaires
Spot On Innovative Approach Stellar Advice

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
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

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
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

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 En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

Lisa K. Wrike Team member En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

0
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

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
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

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
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

Yes, I sent it to support, thanks.

Now it is running as you said Lisa

0
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

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
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

Hi All,

Is there an endpoint like this for projects, I want to see all custom fields associated with all the projects ( not one project at a time)

This command does not work  https://www.wrike.com/api/v4/folders?fields=[customFields]

similar endpoint for tasks below works 

https://www.wrike.com/api/v4/tasks?fields=[customFields]

Thanks

 

 

1
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

I am having a similar issue.  After our integration was set up, I accidentally deleted a custom field (it was the wrong duplicate field) and now the recipe fails.  I don't know how to get the new field ID in workato or in Wrike or even find a list of ID's for them all.  I can't find any information on how to get the ID itself.

0
Actions pour les commentaires Permalien
Spot On Innovative Approach Stellar Advice

Hi Richard Herzog, thanks for writing in. You can retrieve the API ID of the new custom field using the GET call to the custom field endpoint. The 'id' parameter will be returned in the API response. Here is a link to the article with more details: https://developers.wrike.com/api/v4/custom-fields/. Hope it helps! Feel free to reach out should you have any questions 🙌

Lisa K. Community Team at Wrike Wrike Product Manager En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

Lisa K. Wrike Team member En savoir plus sur les fonctionalités et les meilleures pratiques grace à nos Webinaires online

0
Actions pour les commentaires Permalien

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

Haut de la page
Didn’t find what you were looking for? Write new post