How to set a portfolio custom field value for a specific project?

With a portfolio, I know that you can create custom fields at the portfolio level (ex. Time Spent, Related KPIs, etc) using PUT /portfolios/{portfolio_gid}/addCustomFieldSetting and then in the UI you can set the value of that custom field for each project within the porfolio.

However, I haven’t been able to find an API call to set the values of those custom fields on the and hoping someone can point me in the right direction.

For example, if I have a portfolio that has a custom field called “Time Spent” and within that portfolio I have a project called “Ben’s Project”, how would I set the “Time Spent” to a certain value (ex. 1000) using the API?

Hi @Ben_Ewing and welcome to the forum!

Update the project and provide the values for the custom fields in your update - see:

https://developers.asana.com/docs/update-a-project

1 Like