You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expand file tree
/
Loop through object items (customfieldProjects).js
// This code sample will get all projects custom field data > Loop through each item in the customfieldProjects object > Printout the customfieldId, customFieldValueId and the value of the custom field if a value exists.
// Params included:
// - includeCompletedProjects=true
// - includeCustomFields=true
// - optional parameter to filter by customfield Value `&projectCustomField[4875][eq]=Needs attention`
let v3ProjectsUrl = `https://${siteName}.teamwork.com/projects/api/v3/projects.json?includeCompletedTasks=true&includeCustomFields=true&page=${page}${filterCustomField}`