Workfront API: Possible to retrieve all project custom fields in a single go using APIs? | Community
Skip to main content
_Manish_Singh
Level 9
March 20, 2023
Solved

Workfront API: Possible to retrieve all project custom fields in a single go using APIs?

  • March 20, 2023
  • 2 replies
  • 5522 views

Is it possible to retrieve all custom fields from a specific custom form associated with Workfront projects using APIs? Currently, I am manually specifying each field in the query parameters using the 'fields' parameter. However, I would like to know if there is a way to retrieve all fields at once without having to manually specify them. I have included a screenshot from Postman below for reference. May not be possible, but just wanted to check : )

Using '*' in fields params doesn't work because it retrieves native fields only:

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by RandyRoberts

 

All

 

https://<DOMAIN>.my.workfront.com/attask/api/v12.0/project/<PROJECTID>?fields=*,parameterValues

 

Custom Only

 

https://<DOMAIN>.my.workfront.com/attask/api-unsupported/project/<PROJECTID>?fields=parameterValues

 

Native Only

 

https://<DOMAIN>.my.workfront.com/attask/api-unsupported/project/<PROJECTID>?fields=*

 

 

 

TIP: if this solved your problem, I invite you to consider marking it as a Correct Answer to help others who might also find it of use.

2 replies

lgaertner
Level 9
March 20, 2023

Hello,

 

to get all custom fields assigned to a specific custom form I call the following:

 

https://<domainname>.my.workfront.com/ctgy/<customFormId>?fields=categoryParameters:*,categoryParameters:parameter:name

as within the API custom forms are called Categories and custom fields are called Parameters.

Regards

Lars

_Manish_Singh
Level 9
March 20, 2023

Thank you. I'm looking to get custom fields at project/search endpoint, but I believe it is not possible without manually specifying "DE:" fields in params I guess.

RandyRoberts
Community Advisor
RandyRobertsCommunity AdvisorAccepted solution
Community Advisor
March 20, 2023

 

All

 

https://<DOMAIN>.my.workfront.com/attask/api/v12.0/project/<PROJECTID>?fields=*,parameterValues

 

Custom Only

 

https://<DOMAIN>.my.workfront.com/attask/api-unsupported/project/<PROJECTID>?fields=parameterValues

 

Native Only

 

https://<DOMAIN>.my.workfront.com/attask/api-unsupported/project/<PROJECTID>?fields=*

 

 

 

TIP: if this solved your problem, I invite you to consider marking it as a Correct Answer to help others who might also find it of use.

_Manish_Singh
Level 9
March 21, 2023

Perfect, thank you so much. I was looking for custom only 😊