Hard time to get Custom Fields of specific Project

When I request this url :

f'{self.BASE_URL}/tasks/{task_id}?fields=["customFields"]&descendants=false'


it returns  {'errorDescription': "Fields parameter value 'customFields' not allowed", 'error': 'invalid_parameter'}. I could not find a way to get custom fields of specific project or folder. Could someone help me please 😀

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
6 comments

You don't need to specify in the fields array parameter to have the API returns the Custom Fields of a task, by default, it is already included in the response.

 

The fields parameter array only accepts the following, hence the error.

recurrent Add field to indicate if task is recurrent
attachmentCount Attachment count
responsiblePlaceholderIds List of placeholder responsible IDs
effortAllocation Effort Allocation
billingType Billing type
finance Task Finance fields
customItemTypeId Work Item custom item type Id
0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Same problem Here.

The thing is that only a small set of CustomFields are returning from the request and when this parameter is set, the error message appears.

The documentation explicity lists this option, if it is not supported, then the documentation must be corrected .

Anyway, how can one retrieve the values of all customfields in a task?

regards

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Checking more deeply the question, the fields that are not appearing are the ones of the "formula" type and I could not find any means to retrieve'em.

Any light on that?

Thx!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Thank you, choongseng, for answering this! 😊

Hi CJ, please let me know if you would like me to raise a ticket with our API experts to discuss this topic. Thank you! 👍🏽

Basudha Sakshyarika Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Basudha Sakshyarika Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hi Basudha Sakshyarika! That would be great! Thx

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hi CJ, I’ve looped in our Support team to help provide a more accurate answer. Please expect them to reach out soon. Thank you! 😊

Basudha Sakshyarika Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Basudha Sakshyarika Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Hard time to get Custom Fields of specific Project
[this list is visible for admins and agents only]

Top

Upcoming Live Sessions

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